The Kaplan–Meier survival curves showed significant differences in T2DM incidence across the AIP quartiles, indicating that higher AIP was associated with an increased incidence of T2DM (log-rank P < 0.001), as illustrated in Fig. 2. Here, AIP is linked to autoimmune pancreatitis.