when did mexico come under spanish colonial rule
History of Mexico From 1521, the Spanish conquest of the Aztec empire incorporated the region into the Spanish Empire, with New Spain its colonial era name and Mexico City the center of colonial rule. It was built on the ruins of the Aztec capital of Tenochtitlan and became the capital of New Spain. During the colonial era, Mexico's long-established Mesoamerican civilizations mixed with European culture. Perhaps nothing better represents this hybrid background than Mexico's languages: the country is both the most populous Spanish-speaking country in the world and home to the largest number of Native American language speakers in North America. For three centuries Mexico was part of the Spanish Empire, whose legacy is a country with a Spanish-speaking, Catholic and largely Western culture.
Latin America Fighting soon broke out between juntas and the Spanish colonial authorities, with initial victories for the advocates of independence. Eventually these early movements were crushed by the royalist troops by 1810, including those of Miguel Hidalgo y Costilla in Mexico in the year 1810. Later on Francisco de Miranda in Venezuela by 1812. Under the leadership of a new generation of leaders, such as Simón Bolívar "The Liberator", José de San Martín of Argentina, and other Libertadores in South America, the independence movement regained strength, and by 1825, all Spanish America, except for Puerto Rico and Cuba, had gained independence from Spain. In the same year in Mexico, a military officer, Agustín de Iturbide, led a coalition of conservatives and liberals who created a constitutional monarchy, with Iturbide as emperor. This First Mexican Empire was short-lived, and was followed by the creation of a republic in 1823.