Task: Text Categorization
Input (English): He was an unsuccessful presidential candidate in 1867 and 1871, but would lead his nation for a period of 31 out of 35 years. In 1876 he overthrew the government of President Sebastian Lerdo de Tejada, and while he had to cede power for four years because the constitution would not allow presidents to serve consecutive terms, he rewrote that rule when he returned to power in 1884. For ten points, identify the Mexican dictator who ruled until 1911, when he himself was overthrown by Francisco Madero.
Output (English): History