Methods of preventing, treating or ameliorating autoimmune diabetes by modulating the binding of MHC class II molecules to antigenic peptides or fragments of antigenic peptides of the autoimmune disease by the administration of methyldopa. Pharmaceutical compositions containing therapeutically effective amounts of methyldopa in extended release formulations and methods of using the same are also provided.