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.
History of New Mexico
The decade that led up to independence was a painful period in the history of Mexico. In 1810 catholic priest Miguel Hidalgo instigated a war for independence in central Mexico, a struggle that quickly took on the character of a class war. The following year, military captain Las Casas instigated a coup within the Imperial regime. Sympathizing with the poor underclass, Las Casas opened up a line of dialogue with the revolutionaries. This caused the Spanish elite to instigate its own counter coup and executed Las Casas. For years afterward the regime failed to regain coherency and the mandate to administrate. These ideological struggles affected peripheral New Mexico much less than they did the national center, but it resulted in a sense of alienation with central authority.