Inclusion Criteria:  Liver cirrhosis Admitted to a hospital  Exclusion Criteria:  Previously confirmed DM Being treated for DM Standard risk factors of T2DM, such as high body mass index and family history of diabetes Symptoms of DM, such as increased thirst and the need to urinate Either hepatocellular carcinoma or other malignancy Hepatic failure or uncontrolled decompensation [that is, refractory ascites or active variceal hemorrhage] Significant illnesses such as sepsis that may have interfered with glucose metabolism Pancreatic dysfunction such as acute/chronic pancreatitis that may have affected glucose metabolism.