The risk of dementia has been considered to be affected by environmental risk factors (e.g., hypertension, smoking, diabetes, physical inactivity) and genetic risk factors (e.g., APOE genotypes). The gene discussed is APOE; the disease is diabetes mellitus.