Each patient was followed up to assess dementia risk or protective factors: demographic characteristics of age and sex; comorbidities of diabetes, hypertension, dyslipidemia, cerebrovascular diseases, parkinsonism, epilepsy, substance and alcohol use disorders, mood disorder, anxiety disorder, psychotic disorder, and sleep disorder; urbanization level; monthly income; and statin, metformin, aspirin, and angiotensin-converting enzyme inhibitor (ACEI) use. Here, ACE is linked to diabetes mellitus.