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
History of Costa Rica Following the Mexican War of Independence (1810–1821), Costa Rica became part of the independent Mexican Empire in 1821. Subsequently, Costa Rica was part of the Federal Republic of Central America in 1823, before gaining full independence in 1838. Its economy struggled due to lack of connections with European suppliers. In 1856, Costa Rica resisted United States settlers from mounting a take-over of the government. After 1869, Costa Rica established a democratic government. After the Costa Rican Civil War in 1948, the government drafted a new constitution, guaranteeing universal suffrage and the dismantling of the military. Today, Costa Rica is a