No President Took office Left office Political Party Notes 16 José Mariano Salas (1797 -- 1867) August 6, 1846 December 23, 1846 Conservative Party After he restored the federalism, he called elections. Santa Anna won the election and was appointed interim president by Congress and Valentin Gomez Farias as vice president. Valentín Gómez Farías (1781 -- 1858) December 23, 1846 March 21, 1847 Liberal Party As vice president, he took office in place of Santa Anna, who was fighting the Americans in the Mexican -- American War. Antonio López de Santa Anna (1794 -- 1876) March 21, 1847 April 2, 1847 Liberal Party He took office as elected interim president. Vice President Valentín Gómez Farías 17 Pedro María de Anaya (1795 -- 1854) April 2, 1847 May 20, 1847 Liberal Party Santa Anna left office to fight in the Mexican -- American War. Congress abolished the vice presidency and he was appointed as substitute president. Antonio López de Santa Anna (1794 -- 1876) May 20, 1847 September 15, 1847 Liberal Party He reassumed the presidency when De Anaya left office to fight in the Mexican -- American War. 18 Manuel de la Peña y Peña (1789 -- 1850) September 16, 1847 November 13, 1847 Liberal Party As president of the Supreme Court, he assumed the presidency after Santa Anna 's resignation. Pedro María de Anaya (1795 -- 1854) November 13, 1847 January 8, 1848 Liberal Party He was appointed interim president by Congress when De la Peña y Peña left office in order to negotiate peace with the United States. Manuel de la Peña y Peña (1789 -- 1850) January 8, 1848 June 3, 1848 Liberal Party He reassumed office as provisional president when De Anaya resigned after refusing to give any land to the United States. During his term, he signed the Treaty of Guadalupe Hidalgo. José Joaquín de Herrera (1792 -- 1854) June 3, 1848 January 15, 1851 Liberal Party He was the second president to finish his term and peacefully turned over the presidency to the winner of the Federal Elections of 1850, General Mariano Arista. 19 Mariano Arista (1802 -- 1855) January 15, 1851 January 5, 1853 Liberal Party He resigned on January 5, 1853 when Congress refused to give him extraordinary powers to fight the rebellion of Plan del Hospicio, the goal of which was to bring to Santa Anna once again to the presidency. 20 Juan Bautista Ceballos (1811 -- 1859) January 5, 1853 February 7, 1853 Liberal Party As president of the Supreme Court, he was proposed by President Arista as his successor and confirmed the same day as interim president by Congress. 21 Manuel María Lombardini (1802 -- 1853) February 8, 1853 April 20, 1853 Conservative Party He was appointed provisional president by Congress when Ceballos resigned because of the rebellion of Plan del Hospicio. Antonio López de Santa Anna (1794 -- 1876) April 20, 1853 August 9, 1855 Liberal Party He swore as President but ruled as dictator. He called himself "Su Alteza Serenisima '' (Serene Highness). From this period, the only lasting thing is the Mexican National Anthem. 22 Martín Carrera (1806 -- 1871) August 9, 1855 September 12, 1855 Conservative Party He was appointed interim president after the triumph of the Plan of Ayutla but he took office until August 15. 23 Rómulo Díaz de la Vega (1800 -- 1877) September 12, 1855 October 4, 1855 Conservative Party He served as de facto president after Carrera 's resignation. 24 Juan Álvarez (1790 -- 1867) October 4, 1855 December 11, 1855 Liberal Party He was appointed interim president by a council integrated with one representative of each state after the triumph of the Revolution of Ayutla. 25 Ignacio Comonfort (1812 -- 1863) December 11, 1855 December 17, 1857 Liberal Party He was appointed interim president by Juan Alvarez when he resigned. He assumed as constitutional president on December 1, 1857. 26 Benito Juárez (1806 -- 1872) December 18, 1857 July 18, 1872 Liberal Party As president of the Supreme Court, he became interim president after the self - coup of Ignacio Comonfort against the Constitution of 1857. He was arrested and freed by Comonfort. He established a liberal constitutional government on January 18, 1858. The struggle between the Liberal and Conservative forces is known as Reform War.
who was the president of mexico in 1848
Pedro María de Anaya Pedro María de Anaya Manuel de la Peña y Peña Manuel de la Peña y Peña José Joaquín de Herrera