President of Mexico Porfirio Díaz and the revolutionary Francisco Madero sign the Treaty of Ciudad Juárez to put an end to the fighting between the forces of both men, concluding the initial phase of the Mexican Revolution.

The Treaty of Ciudad Jurez was a peace treaty signed between the President of Mexico, Porfirio Daz, and the revolutionary Francisco Madero on May 21, 1911. The treaty put an end to the fighting between forces supporting Madero and those of Daz and thus concluded the initial phase of the Mexican Revolution.

The treaty stipulated that Daz, as well as his vice president Ramn Corral, were to step down by the end of May, and that he was to be replaced by Francisco Len de la Barra as interim president and hold presidential elections. Those who had suffered losses due to the revolution would be indemnified, and there would be a general amnesty. Daz resigned on May 25, and interim president Francisco Len de la Barra was the new incumbent. Daz and his family, his vice president Corral, plus Jos Yves Limantour and Rosendo Pineda left Mexico for exile.Significantly, the treaty did not mention or institute any social reforms that Madero had vaguely promised on previous occasions. It also left the Porfirian state essentially intact. Additionally, Madero supported the unpopular idea that all land disputes were to be settled through the courts, staffed by the old judges, a decision that led to outbreaks of sporadic violence, particularly in rural areas.On June 7, 1911, Madero entered Mexico City. In October 1911 he was elected president, under the banner of the Partido Constitucional Progresista, along with Jos Mara Pino Surez, his new running mate as vice-president. Madero pushed aside Francisco Vzquez Gmez, the vice presidential candidate for the Anti-Reelectionist Party in 1910, as being too moderate.

The president of Mexico (Spanish: Presidente de México), officially the president of the United Mexican States (Spanish: Presidente de los Estados Unidos Mexicanos), is the head of state and head of government of Mexico. Under the Constitution of Mexico, the president heads the executive branch of the federal government and is the commander-in-chief of the Mexican Armed Forces. The current president is Andrés Manuel López Obrador, who took office on 1 December 2018.

The office of the president is considered to be revolutionary, in the sense that the powers of office are derived from the Revolutionary Constitution of 1917. Another legacy of the Mexican Revolution is the Constitution's ban on re-election. Mexican presidents are limited to a single six-year term, called a sexenio. No one who has held the post, even on a caretaker basis, is allowed to run or serve again. The constitution and the office of the president closely follow the presidential system of government.