Hispanics and Latinos in New Mexico
The mainland part of New Spain won independence from Spain in 1821 and New Mexico became part of the new nation of Mexico. After independence from Spain, the Spanish population began to mix somewhat with the indigenous populations. The new 'Mexican' élite attempted to create a common identity out of all the classes and different ethnicities. Nationalists attempted to establish equality, if only legally, between these different groups. The Spanish settlers of New Mexico and their descendants adapted to Mexican citizenship somewhat. In 1836, after the Republic of Texas gained independence, Texas claimed part of the Province of New Mexico, which was disputed by Mexico. In 1841, the Texians sent an expedition to occupy the area, but the expedition was captured by Mexican troops;
History of North America
Meanwhile, Spain's hold on Mexico was weakening. Independence was declared in 1810 by Miguel Hidalgo, starting the "Mexican War of Independence". In 1813, José María Morelos and the Congress of Anáhuac signed the Solemn Act of the Declaration of Independence of Northern America, the first legal document where the separation of the New Spain with respect to Spain is proclaimed. Spain finally recognized Mexico's independence in 1821.