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;
Mexican–American War
The Mexican Army emerged from the war of independence (1810–1821) as a weak and divided force. Before the war with the United States, the military faced both internal and foreign challenges. The Spanish still occupied the coastal fortress of San Juan de Ulúa, and Spain did not recognize Mexico's independence, so that the new nation was at risk for invasion. In 1829, the Spanish attempted to reconquer their former colony and Antonio López de Santa Anna became a national hero defending the homeland. The army had a set of privileges ("fueros"), established in the colonial era, that gave it jurisdiction over many aspects of its affairs. In general, the military supported conservative positions, advocating for a strong central government and upholding privileges of the military and the Catholic Church.