History of Albuquerque, New Mexico
In 1821, Mexico gained its independence from Spain following the Mexican War of Independence. While change was slow to come to the remote province of New Mexico, one major effect was the opening of the region for the first time to American trade. Beginning in the 1820s, the Santa Fe Trail brought American goods and merchants to New Mexico in ever-increasing numbers. Albuquerque's location on the Camino Real also made it a stopover for traders traveling south to the Mexican interior. The Mexican census of 1827 gives a population of 2,547, and shows a more diverse range of occupations than in 1790, including merchants, craftsmen, and a teacher.
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.