<Table> <Tr> <Th_colspan="2"> Mexican--American War </Th> </Tr> <Tr> <Td_colspan="2"> Part of the prelude to the American Civil War </Td> </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 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 Watts Kearny John Drake Sloat Robert E. Lee William Jenkins Worth Robert Field Stockton Joseph Lane Franklin Pierce David Conner Matthew Calbraith Perry John Charles Fremont Thomas Childs Henry Stanton Burton William B. Ide Edward Dickinson Baker Ulysses S. Grant </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) 13,283 total dead 4,152 wounded </Td> <Td> 5,000 killed in battle 10,000 total military deaths </Td> </Tr> </Table> <Tr> <Th_colspan="2"> Mexican--American War </Th> </Tr>

Who sold part of mexico to the usa