Benito Juárez (21 March 1806 – 18 July 1872) was a Mexican lawyer and politician of Zapotec origin from Oaxaca who served as the President of Mexico from 1858-1872. His tenure as president saw interruption during the Reform War and the during the subsequent French occupation. From 1863-67, Juárez led a government-in-exile while opposing the reign of EmperorMaximilian I, who was actually reform-minded himself, and offered Juárez the office of prime minister. Juárez refused. In 1867 Maximilian was defeated, and Juárez returned to his office formally. He was subsequently re-elected in 1867 and in 1871, and died in office of a heart attack. He was the first Mexican leader who did not have a military background, and also the first full-blooded indigenous national to lead any country in the New World.