We also found significant associations between T2DM and dementia, adjusting for age, sex, years of education, APOE-ε4 allele status, five ancestry-specific PCs, smoking status, ever drinking alcohol, history of stroke, hypertension, and BMI (OR = 1.41, 95% CI: 1.01, 1.95); as well as in a model further adjusted for AD polygenic score (OR = 1.39, 95% CI: 1.00, 1.92). This evidence concerns the gene APOE and type 2 diabetes mellitus.