GPT and diabetes mellitus: The results obtained in this study suggested that age, diabetes mellitus (DM), ascites, spontaneous bacterial peritonitis (SBP), abnormal glutamate aminotransferase (ALT), and abnormal blood potassium (K) are risk factors (predictors) for the development of hepatic encephalopathy.