Mexican War of Independence the Congress of Chilpancingo, which gave the insurgency its own legal framework. After the defeat of Morelos, the movement survived as a guerrilla war under the leadership of Vicente Guerrero. By 1820, the few rebel groups survived most notably in the Sierra Madre del Sur and Veracruz. The reinstatement of the liberal Constitution of Cadiz in 1820 caused a change of mind among the elite groups who had supported Spanish rule. Monarchist Creoles affected by the constitution decided to support the independence of New Spain; they sought an alliance with the former insurgent resistance. Agustín de Iturbide led the military
Mexican–American War could not be released from its obligations. The US was released from all obligations of Article XI five years later by Article II of the Gadsden Purchase of 1853. The 1848 Treaty of Guadalupe Hidalgo ended the war and enforced the Mexican Cession of the northern territories of Alta California and Santa Fe de Nuevo México to the United States. Mexico acknowledged the loss of what became the State of Texas and accepted the Rio Grande as its northern border with the U.S. The losses amounted to one-third of its original territory from its 1821 independence. Before the secession of