19th century new national borders. The Concert of Europe attempted to preserve this settlement was established to preserve these borders, with limited impact. Most countries in Central America and South America obtained independence from colonial overlords during the 19th century. In 1804, Haiti gained independence from France. In Mexico, the Mexican War of Independence was a decade-long conflict that ended in Mexican independence in 1821. Due to the Napoleonic Wars, the royal family of Portugal relocated to Brazil from 1808-1821, leading to Brazil having a separate monarchy from Portugal. The Federal Republic of Central America gained independence from Spain in 1821 and
Decolonization of the Americas further wars were fought, such as the Paraguayan War and the War of the Pacific. A related process took place in what is now Mexico, Central America, and parts of North America between 1810 and 1821 with the Mexican War of Independence. Independence was achieved in 1821 by a coalition uniting under Agustín de Iturbide and the Army of the Three Guarantees. Unity was maintained for a short period under the First Mexican Empire, but within a decade the region fought against the United States over the border lands (losing bordering lands of California and Texas). Most of the heat