Given the task definition and input, reply with output. In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

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.

History