<Table> <Tr> <Td> </Td> <Td> This article's lead section may be too long for the length of the article . Please help by moving some material from it into the body of the article . Please read the layout guide and lead section guidelines to ensure the section will still be inclusive of all essential details . Please discuss this issue on the article's talk page . (May 2018) </Td> </Tr> </Table> <Tr> <Td> </Td> <Td> This article's lead section may be too long for the length of the article . Please help by moving some material from it into the body of the article . Please read the layout guide and lead section guidelines to ensure the section will still be inclusive of all essential details . Please discuss this issue on the article's talk page . (May 2018) </Td> </Tr> <Table> <Tr> <Th_colspan="2"> Mexican--American War </Th> </Tr> <Tr> <Td_colspan="2"> Clockwise from top left: Winfield Scott entering Plaza de la Constitución after the Fall of Mexico City, U.S. soldiers engaging the retreating Mexican force during the Battle of Resaca de la Palma, American victory at Churubusco outside Mexico City, U.S. Marines storming Chapultepec castle under a large American flag, Battle of Cerro Gordo </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Th> Date </Th> <Td> April 25, 1846--February 3, 1848 (1 year, 9 months, 1 week and 1 day) </Td> </Tr> <Tr> <Th> Location </Th> <Td> Texas, New Mexico, California; Northern, Central, and Eastern Mexico; Mexico City </Td> </Tr> <Tr> <Th> Result </Th> <Td> <P> American victory </P> <Ul> <Li> Treaty of Guadalupe Hidalgo </Li> <Li> Mexican recognition of U.S. sovereignty over Texas (among other territories) </Li> <Li> End of the conflict between Mexico and Republic of Texas </Li> </Ul> </Td> </Tr> <Tr> <Th> Territorial changes </Th> <Td> Mexican Cession </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th_colspan="2"> Belligerents </Th> </Tr> <Tr> <Td> United States California Republic </Td> <Td> Mexico </Td> </Tr> <Tr> <Th_colspan="2"> Commanders and leaders </Th> </Tr> <Tr> <Td> James K. Polk Winfield Scott Zachary Taylor Stephen W. Kearny John Drake Sloat William Jenkins Worth Robert Field Stockton Joseph Lane Franklin Pierce David Conner Matthew C. Perry John C. Frémont Thomas Childs Henry Stanton Burton Edward Dickinson Baker William B. Ide </Td> <Td> Antonio López de Santa Anna Mariano Arista Pedro de Ampudia José María Flores Mariano G. Vallejo Nicolás Bravo José Joaquín de Herrera Andrés Pico Manuel Armijo Martin Perfecto de Cos Pedro Maria de Anaya Agustín Jerónimo de Iturbide y Huarte Joaquín Rea Manuel Pineda Muñoz Gabriel Valencia </Td> </Tr> <Tr> <Th_colspan="2"> Strength </Th> </Tr> <Tr> <Td> 73,532 regulars and volunteers </Td> <Td> 70,000 regulars 12,000 irregulars </Td> </Tr> <Tr> <Th_colspan="2"> Casualties and losses </Th> </Tr> <Tr> <Td> 1,733 killed in battle (1,721 soldiers, 11 Marines, and 1 sailor) 4,152 wounded </Td> <Td> 10,000 regulars dead (5,000 killed in battle) </Td> </Tr> <Tr> <Td_colspan="2"> Including civilians killed by the war's violence and military disease and accidental deaths, the Mexican death toll may have reached 25,000 . </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Mexican--American War </Th> </Tr>

When was the war between mexico and the united states