Patients with type 1 and 2 DM who are carriers of the G allele from SNP rs1042522 encode TP53 had a higher risk of DM. Here, TP53 is linked to diabetes mellitus.