With the lowest tertile as a reference, unadjusted, minimally adjusted (adjusted for age and sex) and fully adjusted (adjusted for age, sex, ALT, GGT, TC, fatty liver, smoking status, alcohol consumption and habit of exercise) Cox regression analysis showed that the hazard ratios (HRs) for T2DM significantly increased as the tertiles of ByG increased. Here, GPT is linked to type 2 diabetes mellitus.