José de la Cruz Porfirio Díaz Mori (/ˈdiːəs/; Spanish: [poɾˈfiɾjo ˈði.as]; c. 1830 – 2 July 1915) was a Mexican general and politician who was the dictator of Mexico from 1876 until his overthrow in 1911, seizing power in a military coup. He served on three separate occasions as President of Mexico, a total of over 30 years, this period is known as the Porfiriato and has been called a de facto dictatorship. Díaz’s time in office is the longest of any Mexican ruler.
Díaz was born to a Oaxacan family of modest means. He initially studied to become a priest but eventually switched his studies to law, and among his mentors was the future President of Mexico, Benito Juárez. Díaz increasingly became active in Liberal Party politics fighting with the Liberals to overthrow Santa Anna in the Plan of Ayutla, and also fighting on their side against the Conservative Party in the Reform War.