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;
Spanish attempts to reconquer Mexico
Finally On December 28, 1836, Spain recognized the independence of Mexico under the Santa María–Calatrava Treaty, signed in Madrid by the Mexican Commissioner Miguel Santa María and the Spanish state minister José María Calatrava. Mexico was the first former colony whose independence was recognized by Spain; the second was Ecuador on February 16, 1840.