History of North America was declared in 1810 by Miguel Hidalgo, starting the "Mexican War of Independence". In 1813, José María Morelos and the Congress of Anáhuac signed the Solemn Act of the Declaration of Independence of Northern America, the first legal document where the separation of the New Spain with respect to Spain is proclaimed. Spain finally recognized Mexico's independence in 1821. From the time of independence of the United States, that country expanded rapidly to the west, acquiring the massive Louisiana territory in 1803. Between 1810 and 1811 a Native confederacy under Tecumseh fought unsuccessfully to keep the Americans from pushing them
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