Benito Pablo Juárez García (; 21 March 1806 – 18 July 1872) was a Mexican lawyer and politician, who served as the 26th president of Mexico from 1858 until his death in 1872. He was the first president of Mexico who was of indigenous origin. Born in Oaxaca to a poor Zapotec rural family and orphaned young, he moved to Oaxaca City at the age of 12 to go to school. He was aided by a lay Franciscan, and enrolled in seminary, later studying law at the Institute of Sciences and Arts and becoming a lawyer. After being appointed as a judge, in his 30s he married Margarita Maza, a socially prominent woman of Oaxaca City. From his years in college, he was active in politics. Appointed as head justice of the nation's Supreme Court, Juárez identified primarily as a Liberal politician. In his life, he wrote briefly about his indigenous heritage.