Infection with S. mansoni cercariae or SEA significantly reduced the spontaneous incidence of diabetes and prevented the class switch from IgM to IgG anti-insulin autoantibodies normally seen in most NOD mice as they approach overt diabetes. The gene discussed is CD40LG; the disease is diabetes mellitus.