Ecuadorian War of Independence Ecuadorian War of Independence The Ecuadorian War of Independence was fought from 1820 to 1822 between several South American armies and Spain over control of the lands of the Royal Audience of Quito, a Spanish colonial administrative jurisdiction from which would eventually emerge the modern Republic of Ecuador. The war ended with the defeat of the Spanish forces at the Battle of Pichincha on May 24, 1822, which brought about the independence of the entire "". The Ecuadorian War of Independence is part of the Spanish American wars of independence fought during the first two decades of the 19th century.
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