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
Mexican War of Independence square, the zócalo, with the pealing of the Metropolitan Cathedral of Mexico City's bells. In the 1880s, government officials attempted to move the bell that Hidalgo rang in 1810 to gather parishioners in Dolores for what became his famous "grito". Initially the pueblo's officials said the bell no longer existed, but in 1896, the bell, known as the Bell of San José, was taken to the capital. It was renamed the "Bell of Independence" and ritually rung by Díaz. It is now an integral part of Independence Day festivities. Mexican War of Independence The Mexican War of Independence () was