A method of treating a disease in a subject in need thereof, wherein the disease is caused by deposits of TDP-43 in the brain of the subject and is selected from the group consisting of sporadic amyotrophic lateral sclerosis, frontotemporal dementia, chronic traumatic encephalopathy, progressive supranuclear palsy, corticobasal degeneration, Parkinson's disease, Huntington's disease, limbic-predominant age-related TDP-43 encephalopathy, and motor neuron diseases, the method comprising administering to the subject a therapeutically effective amount of a compound, wherein the compound is one of:
- or a pharmaceutically acceptable salt of any of the foregoing.