<P> This is a list of wars involving the United Mexican States . </P> <P> Mexico has been involved in numerous different military conflicts over the years, with most being civil / internal wars . </P> <Table> <Tr> <Th> Conflict </Th> <Th> Combatant 1 </Th> <Th> Combatant 2 </Th> <Th> Results </Th> </Tr> <Tr> <Td> Mexican War of Independence (1810--1821) </Td> <Td> México Mexican Insurgents European Volunteers Mexican Ex-Royalists Army of the Three Guarantees </Td> <Td> Spain Spanish Royalists Mexican Royalists </Td> <Td> Victory <Ul> <Li> First Mexican Empire gains independence from Spain </Li> <Li> Signing of the Declaration of Independence of the Mexican Empire </Li> </Ul> </Td> </Tr> <Tr> <Td> Spanish Reconquest Attempts of Mexico (1821--1829) </Td> <Td> First Mexican Empire (1821 - 1822) Mexico </Td> <Td> Spain </Td> <Td> Victory <Ul> <Li> Spain recognizes the independence of the United States of Mexico in 1836, however Mexico fails its objective to capture Cuba . </Li> </Ul> </Td> </Tr> <Tr> <Td> Comanche--Mexico Wars (1821--1870) Part of the Mexican Indian Wars </Td> <Td> First Mexican Empire (1821 - 1822) Mexico </Td> <Td> Comanche Kiowa </Td> <Td> Victory <Ul> <Li> Comanche revolts put down </Li> </Ul> </Td> </Tr> <Tr> <Td> Apache--Mexico Wars (1821--1915) Part of the Mexican Indian Wars </Td> <Td> Spain (1600s--1821) First Mexican Empire (1821 - 1822) Mexico (after 1822) </Td> <Td> Apache </Td> <Td> Victory <Ul> <Li> Apache revolts put down </Li> </Ul> </Td> </Tr> <Tr> <Td> Yaqui Wars (1821--1929) Part of the Mexican Indian Wars </Td> <Td> Spain (1533--1821) First Mexican Empire (1821 - 1822) Mexico (after 1822) </Td> <Td> Yaqui </Td> <Td> Victory <Ul> <Li> Yaqui revolts put down </Li> </Ul> </Td> </Tr> <Tr> <Td> War of the South (1829--1831) </Td> <Td> Conservatives </Td> <Td> Liberals </Td> <Td> Conservative Victory <Ul> <Li> Anastasio Bustamante and Conservatives oust liberal president Vicente Guerrero in 1829 </Li> <Li> Capture and execution of Guerrero, defeat of Guerrero's forces </Li> </Ul> </Td> </Tr> <Tr> <Td> Texas Revolution (1835--1836) </Td> <Td> Mexico </Td> <Td> Texas </Td> <Td> Defeat <Ul> <Li> Texan victory, Treaties of Velasco (1836) </Li> <Li> Creation of the Republic of Texas (1836) </Li> <Li> Mexican Invasions of Texas (1842) </Li> <Li> Annexation of Texas by the United States of America (1845); Outbreak of the Mexican--American War (1846--1848) </Li> </Ul> </Td> </Tr> <Tr> <Td> First Franco--Mexican War: Pastry War (1838--1839) </Td> <Td> Mexico </Td> <Td> France </Td> <Td> Defeat <Ul> <Li> Mexican government accepts to pay the 600,000 pesos </Li> </Ul> </Td> </Tr> <Tr> <Td> Mexican--American War (1846--1848) </Td> <Td> Mexico </Td> <Td> United States </Td> <Td> Defeat <Ul> <Li> Treaty of Guadalupe Hidalgo </Li> <Li> Mexican recognition of Texas (and the Mexican Cession) as U.S. territory; End of conflict between Mexico and Texas </Li> </Ul> </Td> </Tr> <Tr> <Td> Caste War of Yucatán (1847--1901) </Td> <Td> Mexico Yucatán </Td> <Td> Maya </Td> <Td> Victory <Ul> <Li> Republic of Yucatán rejoins the United Mexican States in 1848 </Li> <Li> Mayas achieve an independent state from 1847--1883 </Li> <Li> Mexico recaptures Yucatán </Li> <Li> Conflict between the Mexicans and the Mayans continued until 1933 </Li> </Ul> </Td> </Tr> <Tr> <Td> Revolution of Ayutla (1854--1855) </Td> <Td> Liberals </Td> <Td> Conservatives </Td> <Td> Liberal Victory <Ul> <Li> Juan Álvarez leads overthrow of Antonio López de Santa Anna </Li> <Li> Final defeat of Santa Anna and step toward the Reform </Li> </Ul> </Td> </Tr> <Tr> <Td> Reform War (1857--1861) </Td> <Td> Liberals </Td> <Td> Conservatives </Td> <Td> Liberal Victory <Ul> <Li> Benito Juárez rises to power in Mexico </Li> </Ul> </Td> </Tr> <Tr> <Td> Second Franco--Mexican War (1861--1867) </Td> <Td> Mexico United States </Td> <Td> French Empire Mexican Empire Austrian Empire Belgium Egypt Eyalet Polish Revolutionaries </Td> <Td> Victory <Ul> <Li> Establishment, then fall, of the Second Mexican Empire </Li> <Li> French withdrawal </Li> <Li> Execution of Emperor Maximilian I, Miguel Miramon, and Tomas Mejia </Li> </Ul> </Td> </Tr> <Tr> <Td> Victorio's War (1879--1881) </Td> <Td> United States Mexico </Td> <Td> Apache </Td> <Td> Victory <Ul> <Li> Apache defeated </Li> </Ul> </Td> </Tr> <Tr> <Td> Garza Revolution (1891--1893) </Td> <Td> Mexico United States </Td> <Td> Garzistas </Td> <Td> Victory <Ul> <Li> Garza Revolution defeated </Li> </Ul> </Td> </Tr> <Tr> <Td> Mexican Revolution (1910--1920) </Td> <Td> Counter-Revolutionaries <Ul> <Li> Porfiristas </Li> <Li> Huertistas </Li> </Ul> </Td> <Td> Revolutionaries <Ul> <Li> Constitutional Army </Li> <Li> Villistas </Li> <Li> Zapatistas </Li> </Ul> </Td> <Td> Constitutional Army Victory <Ul> <Li> Porfirio Díaz and Victoriano Huerta ousted from power and exiled </Li> <Li> Mexican Constitution of 1917 enacted </Li> <Li> Defeat of rebellious Villa and Zapata by their Constitutionalists pairs </Li> <Li> Political assassination of presidents and revolutionary leaders </Li> <Li> Founding of the National Revolutionary Party </Li> </Ul> </Td> </Tr> <Tr> <Td> Border War (1910--1919) </Td> <Td> Mexico Germany </Td> <Td> United States </Td> <Td> Defeat <Ul> <Li> Seditionist insurgency suppressed </Li> <Li> Permanent border wall established </Li> </Ul> </Td> </Tr> <Tr> <Td> Cristero War (1926--1929) </Td> <Td> Mexican Government </Td> <Td> Cristeros National League for the Defense of Religious Liberty Knights of Columbus </Td> <Td> Government Ceasefire <Ul> <Li> The Mexican Government makes peace agreement with Cristeros, assisted by the United States through U.S. Ambassador to Mexico, Dwight Whitney Morrow, in order to end violence </Li> <Li> Recognition of certain rights and the Catholic Church reopens in Mexico by 1929 during the presidency of Emilio Portes Gil, although some anti-clerical government laws remained in place until 1992, when the Mexican government amended the constitution by granting all religious groups legal status, conceding them limited property rights and lifting restrictions on the number of priests in the country </Li> </Ul> </Td> </Tr> <Tr> <Td> World War II (1942--1945) </Td> <Td> Soviet Union United States United Kingdom China France Poland Canada Australia New Zealand India South Africa Yugoslavia Greece Denmark Norway Netherlands Belgium Luxembourg Czechoslovakia Brazil Mexico Ethiopia </Td> <Td> Germany Japan Italy Hungary Romania Bulgaria Finland Thailand Manchukuo Croatia Slovakia </Td> <Td> Victory <Ul> <Li> Collapse of the Third Reich </Li> <Li> Fall of Japanese and Italian Empires </Li> <Li> Creation of the United Nations </Li> <Li> Emergence of the United States and the Soviet Union as superpowers </Li> <Li> Beginning of the Cold War </Li> </Ul> </Td> </Tr> <Tr> <Td> Mexico--Guatemala Conflict (1958--1959) </Td> <Td> Mexico </Td> <Td> Guatemala </Td> <Td> Ceasefire <Ul> <Li> Mexican retaliation halted by newly elected president Adolfo López Mateos </Li> <Li> Diplomatic relations between the two nations are frozen for several months </Li> <Li> South American meditation helps to prevent escalation </Li> </Ul> </Td> </Tr> <Tr> <Td> Dirty War (1968--1982) </Td> <Td> Mexico </Td> <Td> September 23 Communist League Party of the Poor Mexican Communist Party </Td> <Td> Victory <Ul> <Li> Continued rule of the Institutional Revolutionary Party </Li> <Li> Guerrilla groups disbanded </Li> </Ul> </Td> </Tr> <Tr> <Td> Zapatista Uprising (1994) </Td> <Td> Mexico </Td> <Td> EZLN </Td> <Td> Victory <Ul> <Li> Uprising crushed by the government </Li> <Li> San Andrés Accords, granting some autonomy to the indigenous peoples </Li> </Ul> </Td> </Tr> <Tr> <Td> Mexican Drug War (2006--present) </Td> <Td> Mexico </Td> <Td> Mexican Drug Cartels </Td> <Td> Ongoing <Ul> <Li> 24 of the original 34 Zetas captured or killed </Li> <Li> 34 of the 37 most - wanted Mexican drug lords captured or killed </Li> <Li> World's most wanted drug lord Joaquín "El Chapo" Guzmán captured for 3rd time and extradited to the U.S </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th> Conflict </Th> <Th> Combatant 1 </Th> <Th> Combatant 2 </Th> <Th> Results </Th> </Tr>

When was the last time the united states and mexico fought a war
find me the text answering this question