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
Solemn Act of the Declaration of Independence of Northern America Solemn Act of the Declaration of Independence of Northern America The Solemn Act of Northern America's Declaration of Independence () is the first Mexican legal historical document which established the separation of Mexico from Spanish rule. It was signed on November 6, 1813, by the deputies of the Congress of Anáhuac, organized by General José María Morelos in the city of Oaxaca in June of that same year, and later installed in the city of Chilpancingo on September 13. The document gathers some of the main political uprisings contained in "Feelings of the Nation" ("Sentimientos de la Nación"), a document