In the multivariate analysis, T2D, waist circumference, MetS, and higher ALT values were identified as independent risk factors for MASLD and MASLD-associated significant fibrosis amongst the prison population. The gene discussed is GPT; the disease is metabolic syndrome.