Mexico Europeans. In 1521, the Spanish Empire conquered and colonized the territory from its politically powerful base in Mexico-Tenochtitlan (part of Mexico City), which was administered as the viceroyalty of New Spain. Three centuries later, the territory became a nation state following its recognition in 1821 after the colony's Mexican War of Independence. The post-independence period was tumultuous, characterized by economic inequality and many contrasting political changes. The Mexican–American War (1846–1848) led to a territorial cession of the extant northern territories to the United States. The Pastry War, the Franco-Mexican War, a civil war, two empires, and the Porfiriato occurred in
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