Patient description: The patient is a 24-year-old man who has had type 1 diabetes for 11 years. He presents to the emergency room with hyperglycemia and concern for possible diabetic ketoacidosis after not taking his insulin for 3 days. The patient reports that he is currently homeless and has lost his supply of insulin, syringes, glucometer, and glucose testing supplies. The patient states that at the time of his initial diagnosis with type 1 diabetes he was hospitalized with a glucose value >1000 mg/dL. At the time, he was experiencing polyuria, polydipsia, and polyphagia. He reports that he has been on insulin since the time of his diagnosis, and he has never been prescribed oral agents for diabetes management. Most recently, he has been using insulin glargine 55 units once daily, and insulin aspart sliding scale 3 times daily. The patient has had previous episodes of diabetic ketoacidosis, for which he was hospitalized. With this episode of hyperglycemia, he is not experiencing any nausea, vomiting, or abdominal discomfort, and he appears well. His lab studies showed: A1c: 11.3% Creatinine: 0.9 mg/dL with eGFR >60 mL/min Aspartate aminotransferase (AST): 17 U/L Alanine aminotransferase (ALT): 14 U/L Beta-hydroxybutyrate: 0.1 mmol/L Bicarbonate: 25 mEq/L Anion

Clinical trial eligibility criteria: eligible ages (years): 18.0-999.0,  Hepatitis Age at entry at least 18 years. 2. Serum alanine (ALT) or aspartate (AST) aminotransferase activities that are above the upper limits of normal. 3. Evidence of steatohepatitis on liver biopsy done within the previous 12 months with a NASH activity score of at least 4 (of a total possible score of 16) including a score of at least 1 each for steatosis, hepatocellular injury and parenchymal inflammation. Histological of steatohepatitis (1) macrovesicular steatosis, (2) acinar zone 3 hepatocellular injury (ballooning degeneration), (3) parenchymal and (4) portal inflammation. Additionally helpful, but not required, features the presence of (5) Mallory's hyaline and (6) pericellular and/or sinusoidal fibrosis that predominantly involves zone 3. 4. Written informed consent  Evidence of another form of liver disease. 1. Hepatitis B as defined as presence of hepatitis B surface antigen (HBsAg). 2. Hepatitis C as defined by presence of hepatitis C virus (HCV) RNA in serum. 3. Autoimmune hepatitis as defined by anti-nuclear antibody (ANA) of 1:160 or greater and liver histology consistent with autoimmune hepatitis or previous response to immunosuppressive therapy. 4. Autoimmune cholestatic liver disorders as defined by elevation of alkaline phosphatase and anti-mitochondrial antibody of greater than 1:80 or liver histology consistent with primary biliary cirrhosis or elevation of alkaline phosphatase and liver histology consistent with sclerosing cholangitis. 5. Wilson disease as defined by ceruloplasmin below the limits of normal and liver histology consistent with Wilson disease. 6. Alpha-1-antitrypsin deficiency as defined by alpha-1-antitrypsin level less than normal and liver histology consistent with alpha-1-antitrypsin deficiency. 7. Hemochromatosis as defined by presence of 3+ or 4+ stainable iron on liver biopsy and homozygosity for C282Y or compound heterozygosity for C282Y/H63D. 8. Drug-induced liver disease as defined on the basis of typical exposure and history. 9. Bile duct obstruction as shown by imaging studies. 2. History of excess alcohol ingestion, averaging more than 30 gm/day (3 drinks per day) in the previous 10 years, or history of alcohol intake averaging greater than 10 gm/day (1drink per day: 7 drinks per week) in the previous one year. 3. Contraindications to liver biopsy: platelet counts less than 75,000/mm(3) or prothrombin time greater than 16 seconds. 4. Decompensated liver disease, Child-Pugh score greater than or equal to 7 points. 5. History of gastrointestinal bypass surgery or ingestion of drugs known to produce hepatic steatosis including corticosteroids, high-dose estrogens, methotrexate, tetracycline or amiodarone in the previous 6 months. 6. Presence of diabetes mellitus as defined by: fasting plasma glucose of greater than or equal to 126 mg/dl on two separate occasion, or diabetic symptoms with a random plasma glucose of greater than or equal to 200 mg/dl (34). 7. Use of anti-diabetic drugs, including insulin, biguanides, sulfonylureas, or thiazolidinediones in the previous 6 months. 8. Significant systemic or major illnesses other than liver disease, including congestive heart failure, coronary artery disease, cerebrovascular disease, pulmonary disease with hypoxia, renal failure, organ transplantation, serious psychiatric disease, malignancy that, in the opinion of the investigator would preclude treatment with metformin and adequate follow up. 9. Positive test for anti-HIV. 10. Active substance abuse, such as alcohol, inhaled or injection drugs within the previous one year. 11. Pregnancy or inability to practice adequate contraception in women of childbearing potential. 12. Evidence of hepatocellular carcinoma: alpha-fetoprotein levels greater than 200 ng/ml and/or liver mass on imaging study that is suggestive of liver cancer. 13. Any other condition, which, in the opinion of the investigators would impede competence or compliance or possibly hinder completion of the study. 14. History of hypersensitivity reactions to metformin. 15. Serum creatinine greater than 1.5 mg/dl in men and greater than 1.4 mg/dl in women