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.
Mexican–American War
Mexico obtained independence from Spain and the Spanish Empire with the Treaty of Córdoba in 1821. It briefly experimented with monarchy, but became a republic in 1824. This government was characterized by instability, leaving it ill-prepared for international conflict when war broke out only two decades later, in 1846. In the decades preceding the war, Native American raids in Mexico's sparsely settled north prompted the Mexican government to sponsor migration from the United States to the Mexican province of Texas to create a buffer. However, the newly named "Texians" revolted against the Mexican government of President/dictator Antonio López de Santa Anna, who had usurped the Mexican Constitution of 1824, in the subsequent 1836 Texas Revolution, creating a republic not recognized by Mexico, which still claimed it as part of its national territory. In 1845, the Texan Republic agreed to an offer of annexation by the U.S. Congress and became the 28th state in the Union on December 29 that year.