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
Mexican independence was officially achieved on September 27, 1821, under the Treaty of Córdoba. Spain did not recognize the treaties, arguing that the viceroy Juan O'Donojú had no authority to recognize the independence of any overseas province. This situation was dangerous to the newly acquired independent status of the nation, which had not yet been recognized by any of the European powers that could support it, and the threat of Spanish reconquest was a constant worry to the leaders of the nascent regime. On May 13, 1822 decrees were issued by the government to imprison anyone who conspired against Mexico's independence.