Instruct: Given a question, retrieve relevant passages that can help answer the question.
Query: When did Mexico gain independence?
The Mexican War of Independence (Spanish: Guerra de Independencia de México) was an armed conflict, and the culmination of a political and social process which ended the rule of Spain in 1821 in the territory of New Spain. The war had its antecedent in Napoleon's French invasion of Spain in 1808; it extended from the Cry of Dolores by Father Miguel Hidalgo y Costilla on September 16, 1810, to the entrance of the Army of the Three Guarantees led by Agustín de Iturbide to Mexico City on September 27, 1821. September 16 is celebrated as Mexican Independence Day.
Independence, however, did initiate the abolition of slavery in Spanish America, as it was seen as part of the independence struggle, since many slaves had gained their manumission by joining the patriot armies. In areas where slavery was not a major source of labor (Mexico, Central America, Chile), emancipation occurred almost immediately after independence was achieved. In areas where slavery was a main labor source (Colombia, Venezuela, Peru, Argentina), emancipation was carried out in steps over the next three decades, usually first with the creation of free-womb laws and programs for compensated emancipation. By the early 1850s, slavery had been abolished in the independent nations of Spanish America.
The first Europeans to arrive in the area were the Spanish conquistadors. Captain Don Garcia de Cardenas and his party arrived in Arizona, which at the time was part of "New Mexico", in 1540. In 1582, Antonio de Espejo organized a silver prospecting expedition in the area. They did not have any luck in their venture. The area became part of Mexico when Mexico gained its independence from Spain.
The Adams–Onís Treaty of 1819 established an official boundary line between Spanish and United States possessions in the southwest. Spanish territory included the southern plains, a large part of the western Rocky Mountains, and the entire western plateau region of Colorado. Even with the boundary, the Spanish did little to maintain their northern borders. When Mexico gained its independence from Spain, the Spanish lands became Mexican land.
Discontent with the colonization practices led to the Pueblo Revolt, when groups of different Native Pueblo peoples were successful in driving the Spaniards out of the area now known as New Mexico, maintaining their independence from 1680 to 1692, when the territory was reconquered by Don Diego de Vargas. Santa Fe was Spain's provincial seat at outbreak of the Mexican War of Independence in 1810. It was considered important to fur traders based in present-day Saint Louis, Missouri. When the area was still under Spanish rule, the Chouteau brothers of Saint Louis gained a monopoly on the fur trade, before the United States acquired Missouri under the Louisiana Purchase of 1803. The fur trade contributed to the wealth of St. Louis. The city's status as the capital of the Mexican territory of Santa Fe de Nuevo México was formalized in the 1824 Constitution after Mexico achieved independence from Spain.
The first Europeans to arrive in the area were the Spanish conquistadores. At the time the area was part of "New Mexico", and the Spaniards often organized silver and gold prospecting expeditions in the area. In 1585, Spanish explorers made note of the ore but did not mine it because their government had sent them to find gold and silver, not copper. The area became part of Mexico when Mexico gained its independence from Spain.
Accounts of the time sustain the hypothesis that it truly was the wish of the people that Iturbide, who had gained unparalleled fame thanks to his role in achieving Independence, was crowned Emperor. Some call Iturbide's decision a coup and state that the public support for him was orchestrated by him and his followers. Others insist that the people's offer of the throne was sincere, as there was no other candidate and the people were grateful to him for the liberation of Mexico. The latter accounts stress that Iturbide initially rejected the offer, in favor of persuading Ferdinand VII to change his mind about ruling Mexico, but then reluctantly accepted. It should be noted that when the liberating army entered Mexico on September 27, 1821, the army sought to proclaim Iturbide as Emperor, which he himself stopped, with no lack of effort. A month later, on October 28, he was publicly proclaimed Emperor by the people but again refused any such attempt.
The US government appointed Joel Roberts Poinsett as a special envoy to independent Mexico when Iturbide was declared emperor since James Monroe was concerned about how popular and long-lasting the regime might be. Poinsett indicated the empire was not likely to be enduring, but the US still recognized Mexico as an independent country. Poinsett's "Notes on Mexico" are an important source as a foreign view of Iturbide's regime. Poinsett also took advantage of the opportunity to proposition Iturbide's government on the issue of the US wish of acquiring Mexico's northern territories but was soundly refused.
Mexican Texas is the historiographical name used to refer to the era of Texan history between 1821 and 1836, when it was part of Mexico. Mexico gained independence from Spain in 1821 after winning its war. Initially, Mexican Texas operated similarly to Spanish Texas. Ratification of the 1824 Constitution of Mexico created a federal structure, and the province of Tejas was joined with the province of Coahuila to form the state of Coahuila y Tejas.
During Mexico's struggle for independence from Spain in the early 19th century, the Yaqui showed that they still considered themselves independent and self-governing. After Mexico won its independence, the Yaqui refused to pay taxes to the new government. A Yaqui revolt in 1825 was led by Juan Banderas. Banderas wished to unite the Mayo, Opata, Pima, and Yaqui into a state that would be autonomous, or independent of Mexico. The combined Indian force drove the Mexicans out of their territories, but Banderas was eventually defeated and executed in 1833. This led to a succession of revolts as the Yaqui resisted the Mexican government's attempts to gain control of the Yaqui and their lands. 
In 1819, the Adams-Onís Treaty between the United States and Spain defined the Red River as the northern boundary of New Spain, officially placing the future location of Dallas well within Spanish territory. The area remained under Spanish rule until 1821, when Mexico declared independence from Spain, and the area was considered part of the Mexican state of Coahuila y Tejas. In 1836, Texians, with a majority of Anglo-American settlers, gained independence from Mexico and formed the Republic of Texas.
Haiti was the first Latin-American nation to gain independence in 1804 from France. This result inspired several nations in the region in their struggle for independence. Mexico gained independence from Spain in 1821.
In 1820 del Río was named a deputy to the Spanish Cortes. He was a liberal who argued for the independence of New Spain. He was in Madrid when Mexico gained its independence. Invited to remain in Spain, he nevertheless returned to Mexico (in 1821), which he considered his homeland.
When Mexico achieved independence from Spain, Arredondo offered on July 3, 1821 to swear fealty to the new government if he could retain his office as commandant general; his offer was rejected by the citizens of Satillo, and Agustín de Iturbide's "Plan de Iguala" for Mexican independence led to his removal from power. Arredondo is remembered in Texas history as a "butcher" because of his executions of republicans.
When Mexico achieved independence from Spain, Arredondo endorsed the Plan of Iguala and swore allegiance to the Republic of Mexico on July 3, 1821. He surrendered his command, went into retirement in Havana, Cuba, and died in 1837 shortly after Texas had gained its independence.
Gaines' disappearance was not noted immediately, since he was frequently traveling independently in this period, without telling anyone his plans. Only in the autumn of that year, when the NAACP's lawyers were unable to locate him to take depositions for a rehearing in state court, did a serious search begin. It failed, and the suit was dismissed. While most of his family believed at the time that he had been killed in retaliation for his legal victory, there has been speculation that Gaines had tired of his role in the civil rights movement and went elsewhere, either New York or Mexico City, to start a new life. In 2007 the Federal Bureau of Investigation (FBI) agreed to look into the case, among many other missing persons cold cases related to the civil rights era.
Mexico and Suriname are two American nations with distinct colonial histories. Mexico, like many other nations in the region, was colonized by Spain and gained independence in 1821. Suriname is the only independent nation in the Americas to be colonized by and gain independence from the Netherlands. Immediately after gaining independence, both Mexico and Suriname established diplomatic relations in 1975. In 1982, Suriname opened an embassy in Mexico City, however, in 1986, due to budget restraints, Suriname closed its diplomatic mission and has since accredited its ambassador in Washington, D.C. to Mexico. Mexico has never opened an embassy in Paramaribo, however, it has always maintained an honorary consulate in the capital city.
When Iturbide was declared emperor of Mexico, Bustamante continued his support, as did many other conservative elites, who saw centralized, monarchical government as the optimal government for independent Mexico.
In 1821, Mexico gained independence from Spain, annexing the southwest of the present United States, including Arizona. As missions began to wither, Mexico began auctioning off more land, causing the Pimería Alta and the Apachería to shrink as territory expanded. In the meantime, American mountain men began to enter the region, looking to trap beavers for their pelts. In 1836, Texas declared independence from Mexico and claimed much of the territory in the northern lands of Mexico. When the United States annexed Texas in 1846 over the strong objections of the Mexican government, U.S. troops moved into disputed territory. The hostilities erupted in the Mexican–American War (1846–1848). The U.S. occupied Mexico City and forced the newly founded Mexican Republic to give up its northern half, including the later Arizona.
Before Canada became an independent nation, there had been previous contacts between Canada and Mexico in the 1800s. Canadian made products were sold in Mexico under British companies' logos. Since gaining independence from the United Kingdom in 1867; Canada delayed in establishing diplomatic relations with Mexico due to the expropriation of foreign oil companies in 1938. At the time, Canada felt obliged to follow other nations in isolating Mexico economically and diplomatically. Formal relations between the two nations did not begin until 30 January 1944, at the height of Second World War, which both countries participated in on the Allied side. In 1952, Mexico opened its first consulate-general in Montreal.
In 1962, Mexico was the first country to recognize the newly independent Algeria after gaining independence from France. Diplomatic relations between the two nations were formally established on 21 October 1964. In 1965, Mexico's ambassador in Cairo, Egypt was accredited to Algeria. In 1974, a resident embassy of Mexico was opened in Algiers and in 1975, Algeria opened an embassy in Mexico City.
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;
Although Mexico gained its independence in September 1821, the marking of this historical event did not take hold immediately. The choice of date to celebrate was problematic, because Iturbide, who achieved independence from Spain, was rapidly created Emperor of Mexico. His short-lived reign from 1821–22 ended when he was forced by the military to abdicate. This was a rocky start for the new nation, which made celebrating independence on the anniversary of Iturbide's Army of the Three Guarantees marching into Mexico City in triumph a less than perfect day for those who had opposed him. Celebrations of independence during his reign were marked on September 27. Following his ouster, there were calls to commemorate Mexican independence along the lines that the United States celebrated in grand style its Independence Day on July 4. The creation of a committee of powerful men to mark independence celebrations, the Junta Patriótica, organized celebrations of both September 16, to commemorate Hidalgo's grito and the start of the independence insurgency, and September 27, to celebrate actual political independence.[31]
The ranks of football independents increased by one starting with the 2011 season with the announcement that BYU would leave the Mountain West Conference (MWC) to become a football independent starting with that season. The ranks increased by two in 2013 when the Western Athletic Conference (WAC) dropped football and New Mexico State and Idaho did not have a conference for football. The ranks of football independents decreased by two in 2014 with the return of Idaho and New Mexico State as football-only members of the Sun Belt Conference (SBC) and decreased by one more in 2015 with Navy joining the American Athletic Conference (AAC) as a football-only member. UMass became an FBS independent in 2016. Two further teams joined the ranks of FBS independents for the 2018 season: New Mexico State, whose membership in the Sun Belt Conference was not extended beyond the 2017 season, and Liberty, which transitioned from the Big South Conference of the Football Championship Subdivision in 2018.
On 31 of October 1962, Mexico and Morocco established diplomatic relations, six years after Morocco gained its independence from France. Relations between the two nations in the beginning remained cordial without any major significant bilateral agreements taking place, however, relations between the two nations did become rather frosty after Mexico recognized the right to self-determination and established diplomatic relations with the government of Western Sahara in 1979.
Mexican Governors of New Mexico were the political chief executives of the province and later territory of Santa Fe de Nuevo México (New Mexico) between 1822, when Mexico gained independence from Spain, and 1846, when the United States occupied the territory following the Mexican–American War.
The area in which Twin Arrows is located was inhabited by the Hopi and Navajo tribes. The Navajo fought against the Apaches in the area. The first setters to arrive in the area of European descent were the Spanish conquistadores. The area became part of Mexico when Mexico gained its independence from Spain.