Besides confirming the role of these three genes in the association between magnesium and diabetes, we also identified new associations between two other magnesium-regulating genes (CNNM2 and FXYD2) and diabetes risk, which were also mediated through serum magnesium levels. The gene discussed is CNNM2; the disease is diabetes mellitus.