Task: Text Categorization
Input (English): Context: Caleb R. Ayer (1813–1883) was an American politician from Maine. Ayer graduated from Dartmouth College in 1834 and was admitted to the bar in 1838. He was an associate of Nathan Clifford and moved to Cornish in York County in 1841. Six years later in 1847 Ayer was elected as a Democrat to the Maine State Senate and served as Senate President in 1848. In 1856 he served as the Secretary of State of Maine under Governor Samuel Wells. He served as the York County Attorney General from 1868-70.
Question: The document can be classified to which topic? 
Options: 1)NaturalPlace, 2)Building, 3)OfficeHolder, 4)Animal
Output (English): 3