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
First Mexican Empire First Mexican Empire The Mexican Empire (, ) was a short lived monarchy, and the first independent post-colonial imperial state in Mexico. It was the only former colony of the Spanish Empire to establish a monarchy after independence. Together with the Brazilian Empire, it was one of two European-style empires in the Americas. The Mexican Empire lasted two years. It existed from the signing of the Treaty of Córdoba and the declaration of Independence of the Mexican Empire in September 1821 until the emperor's abdication in March 1823 when the Provisional Government took power and the First Mexican Republic was