<Tr> <Th> </Th> <Td> </Td> <Td> Nicolás Bravo (1786--1854) </Td> <Td> July 28, 1846 </Td> <Td> August 4, 1846 </Td> <Td> Conservative Party </Td> <Td> He took office when Paredes left the presidency to fight the Americans in the Mexican--American War . He was deposed by a federalist rebellion led by Jose Mariano Salas and Valentin Gomez Farias . </Td> </Tr> <Tr> <Th> 16 </Th> <Td> </Td> <Td> José Mariano Salas (1797--1867) </Td> <Td> August 5, 1846 </Td> <Td> December 23, 1846 </Td> <Td> Conservative Party </Td> <Td> He assumed office as provisional president after the triumph of the federalist rebellion (Plan de la Ciudadela). He put in force the Constitution of 1824 on August 22 . He served both as last president of the Centralist Republic and first of the Second Federal Republic . </Td> </Tr> <Table> <Tr> <Th> No </Th> <Th_colspan="2"> President </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Political Party </Th> <Th> Notes </Th> </Tr> <Tr> <Th> 16 </Th> <Td> </Td> <Td> José Mariano Salas (1797--1867) </Td> <Td> August 6, 1846 </Td> <Td> December 23, 1846 </Td> <Td> Conservative Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Valentín Gómez Farías (1781--1858) </Td> <Td> December 23, 1846 </Td> <Td> March 21, 1847 </Td> <Td> Liberal Party </Td> <Td> As vice president, he took office in place of Santa Anna, who was fighting the Americans in the Mexican--American War . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Antonio López de Santa Anna (1794--1876) </Td> <Td> March 21, 1847 </Td> <Td> April 2, 1847 </Td> <Td> Liberal Party </Td> <Td> He took office as elected interim president . </Td> </Tr> <Tr> <Td> Vice President Valentín Gómez Farías </Td> </Tr> <Tr> <Th> 17 </Th> <Td> </Td> <Td> Pedro María de Anaya (1795--1854) </Td> <Td> April 2, 1847 </Td> <Td> May 20, 1847 </Td> <Td> Liberal Party </Td> <Td> Santa Anna left office to fight in the Mexican--American War . Congress abolished the vice presidency and he was appointed as substitute president . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Antonio López de Santa Anna (1794--1876) </Td> <Td> May 20, 1847 </Td> <Td> September 15, 1847 </Td> <Td> Liberal Party </Td> <Td> He reassumed the presidency when De Anaya left office to fight in the Mexican--American War . </Td> </Tr> <Tr> <Th> 18 </Th> <Td> </Td> <Td> Manuel de la Peña y Peña (1789--1850) </Td> <Td> September 16, 1847 </Td> <Td> November 13, 1847 </Td> <Td> Liberal Party </Td> <Td> As president of the Supreme Court, he assumed the presidency after Santa Anna's resignation . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Pedro María de Anaya (1795--1854) </Td> <Td> November 13, 1847 </Td> <Td> January 8, 1848 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Manuel de la Peña y Peña (1789--1850) </Td> <Td> January 8, 1848 </Td> <Td> June 3, 1848 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> José Joaquín de Herrera (1792--1854) </Td> <Td> June 3, 1848 </Td> <Td> January 15, 1851 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> 19 </Th> <Td> </Td> <Td> Mariano Arista (1802--1855) </Td> <Td> January 15, 1851 </Td> <Td> January 5, 1853 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> 20 </Th> <Td> </Td> <Td> Juan Bautista Ceballos (1811--1859) </Td> <Td> January 5, 1853 </Td> <Td> February 7, 1853 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> 21 </Th> <Td> </Td> <Td> Manuel María Lombardini (1802--1853) </Td> <Td> February 8, 1853 </Td> <Td> April 20, 1853 </Td> <Td> Conservative Party </Td> <Td> He was appointed provisional president by Congress when Ceballos resigned because of the rebellion of Plan del Hospicio . </Td> </Tr> <Tr> <Th> </Th> <Td> </Td> <Td> Antonio López de Santa Anna (1794--1876) </Td> <Td> April 20, 1853 </Td> <Td> August 9, 1855 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> <Tr> <Th> 22 </Th> <Td> </Td> <Td> Martín Carrera (1806--1871) </Td> <Td> August 9, 1855 </Td> <Td> September 12, 1855 </Td> <Td> Conservative Party </Td> <Td> He was appointed interim president after the triumph of the Plan of Ayutla but he took office until August 15 . </Td> </Tr> <Tr> <Th> 23 </Th> <Td> </Td> <Td> Rómulo Díaz de la Vega (1800--1877) </Td> <Td> September 12, 1855 </Td> <Td> October 4, 1855 </Td> <Td> Conservative Party </Td> <Td> He served as de facto president after Carrera's resignation . </Td> </Tr> <Tr> <Th> 24 </Th> <Td> </Td> <Td> Juan Álvarez (1790--1867) </Td> <Td> October 4, 1855 </Td> <Td> December 11, 1855 </Td> <Td> Liberal Party </Td> <Td> He was appointed interim president by a council integrated with one representative of each state after the triumph of the Revolution of Ayutla . </Td> </Tr> <Tr> <Th> 25 </Th> <Td> </Td> <Td> Ignacio Comonfort (1812--1863) </Td> <Td> December 11, 1855 </Td> <Td> December 17, 1857 </Td> <Td> Liberal Party </Td> <Td> He was appointed interim president by Juan Alvarez when he resigned . He assumed as constitutional president on December 1, 1857 . </Td> </Tr> <Tr> <Th> 26 </Th> <Td> </Td> <Td> Benito Juárez (1806--1872) </Td> <Td> December 18, 1857 </Td> <Td> July 18, 1872 </Td> <Td> Liberal Party </Td> <Td> 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 . </Td> </Tr> </Table> <Tr> <Th> No </Th> <Th_colspan="2"> President </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Political Party </Th> <Th> Notes </Th> </Tr>

Who was the president of mexico in 1848