Context: Andorra, officially the Principality of Andorra, also called the Principality of the Valleys of Andorra, is a sovereign landlocked microstate in Southwestern Europe, located in the eastern Pyrenees mountains and bordered by Spain and France. Created under a charter in 988, the present principality was formed in 1278. It is known as a principality as it is a monarchy headed by two Co-Princes the Roman Catholic Bishop of Urgell in Spain, and the President of France., Africa is the world's second-largest and second-most-populous continent. At about 30.3 million km² (11.7 million square miles) including adjacent islands, it covers 6% of Earth's total surface area and 20.4 % of its total land area. With 1.1 billion people as of 2013, it accounts for about 15% of the world's human population. The continent is surrounded by the Mediterranean Sea to the north, both the Suez Canal and the Red Sea along the Sinai Peninsula to the northeast, the Indian Ocean to the southeast, and the Atlantic Ocean to the west. The continent includes Madagascar and various archipelagos. It contains 54 fully recognized sovereign states (countries), nine territories and two "de facto" independent states with limited or no recognition., Central America is the southernmost, isthmian portion of the North American continent, which connects with South America on the southeast. Central America is bordered by Mexico to the north, Colombia to the southeast, the Caribbean Sea to the east, and the Pacific Ocean to the west. Central America consists of seven countries: Belize, Guatemala, El Salvador, Honduras, Nicaragua, Costa Rica and Panama. The combined population of Central America is between 41,739,000 (2009 estimate) and 42,688,190 (2012 estimate)., Spain, officially the Kingdom of Spain, is a sovereign state largely located on the Iberian Peninsula in southwestern Europe, with two large archipelagos, the Balearic Islands in the Mediterranean Sea and the Canary Islands off the North African Atlantic coast, two cities Ceuta and Melilla in the North African mainland and several small islands in the Alboran Sea near the Moroccan coast. Its mainland is bordered to the south and east by the Mediterranean Sea except for a small land boundary with Gibraltar; to the north and northeast by France, Andorra, and the Bay of Biscay; and to the west and northwest by Portugal and the Atlantic Ocean. It is the only European country to have a border with an African country (Morocco) and its African territory accounts for nearly 5% of its population, mostly in the Canary Islands but also in Ceuta and Melilla., Guam (or ; Chamorro: ; formally the Territory of Guam) is an unincorporated and organized territory of the United States. Located in the western Pacific Ocean, Guam is one of five American territories with an established civilian government. The capital city is Hagåtña, and the most populous city is Dededo. In 2015, 161,785 people resided on Guam. Guamanians are American citizens by birth. Guam has an area of and a population density of 297/km² (770/sq mi). It is the largest and southernmost of the Mariana Islands, and the largest island in Micronesia. Among its municipalities, Mongmong-Toto-Maite has the highest density at 1,425/km² (3,691/sq mi), whereas Inarajan and Umatac have the lowest density at 47/km² (119/sq mi). The highest point is Mount Lamlam at above sea level., Vicente Ramón Guerrero Saldaña (August 10, 1782  February 14, 1831) was one of the leading revolutionary generals of the Mexican War of Independence, and the first African descendant president during the colonial era. He fought against Spain for independence in the early 19th century, and later served as President of Mexico, coming to power in a coup. He was of Afro-Mestizo and Filipino decent, championed the cause of Mexico's common people, and abolished slavery during his brief term as president. His execution in 1831 by the conservative government that ousted him in 1829 was a shock to the nation., At the end of the Mexican War of Independence, the Army of the Three Guarantees (or ) was the name given to the army after the unification of the Spanish troops led by Agustín de Iturbide and the Mexican insurgent troops of Vicente Guerrero, consolidating Mexico's independence from Spain. The decree creating this army appeared in the Plan de Iguala, which stated the three guarantees which it was meant to defend: religion, independence, and unity. Mexico was to be a Catholic country, independent from Spain, and united against its enemies. , Melilla ( "Maliliyyah") is a Spanish autonomous city located on the north coast of Africa, sharing a border with Morocco with an area of . Melilla, along with Ceuta, is one of two permanently inhabited Spanish cities in mainland Africa. It was part of Málaga province until 14 March 1995 when the city's Statute of Autonomy was passed. , Ceuta (assimilated pronunciation , also  Arabic: , "Sabtah") is an Spanish autonomous city located on the north coast of Africa, sharing a western border with Morocco. Separated from the Iberian peninsula by the Strait of Gibraltar, Ceuta lies along the boundary between the Mediterranean Sea and the Atlantic Ocean. Ceuta, along with the Spanish exclave Melilla, is one of nine populated Spanish territories in Africa and one of two populated territories on mainland Africa. It was part of Cádiz province until 14 March 1995 when the city's Statute of Autonomy was passed., Agustín Cosme Damián de Iturbide y Arámburu (27 September 178319 July 1824), also known as Augustine of Mexico, was a Mexican army general and politician. During the Mexican War of Independence, he built a successful political and military coalition that took control in Mexico City on 27 September 1821, decisively gaining independence for Mexico. After the secession of Mexico was secured, he was proclaimed President of the Regency in 1821. A year later, he was announced as the Constitutional Emperor of Mexico, reigning briefly from 19 May 1822 to 19 March 1823. He is credited as the original designer of the first Mexican flag., 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 the French invasion of Spain in 1808 ; it extended from the Grito de Dolores by Father Miguel Hidalgo y Costilla on September 16 , 1810 , to the entrance of the Army of the Three Guarantees led by Augustín de Iturbide to Mexico City on September 27 , 1821 . September 16 is celebrated as Mexican Independence Day . The movement for independence was inspired by the Age of Enlightenment and the liberal revolutions of the last part of the 18th century . By that time the educated elite of New Spain had begun to reflect on the relations between Spain and its colonial kingdoms . Changes in the social and political structure occasioned by Bourbon reforms and a deep economic crisis in New Spain caused discomfort among the Creole ( native - born ) elite . Political events in Europe had a decisive effect on events in most of Spanish America . In 1808 , King Charles IV and Ferdinand VII abdicated in favor of French leader Napoleon Bonaparte , who left the crown of Spain to his brother Joseph Bonaparte . The same year , the ayuntamiento ( city council ) of Mexico City , supported by viceroy José de Iturrigaray , claimed sovereignty in the absence of the legitimate king . That led to a coup against the viceroy ; when it was suppressed , the leaders of the movement were jailed . Despite the defeat in Mexico City , small groups of conspirators met in other cities of New Spain to raise movements against colonial rule . In 1810 , after being discovered , Querétaro conspirators chose to take up arms on September 16 in the company of peasants and indigenous inhabitants of Dolores ( Guanajuato ) , who were called to action by the secular Catholic priest Miguel Hidalgo , former rector of the Colegio de San Nicolás Obispo . From 1810 the independence movement went through several stages , as leaders were imprisoned or executed by forces loyal to Spain . At first they recognized the sovereignty of Ferdinand VII over Spain and its colonies , but later the leaders took more radical positions , including such issues of social order as the abolition of slavery . Secular priest José María Morelos called the separatist provinces to form the Congress of Chilpancingo , which gave the insurgency its own legal framework . After the defeat of Morelos , the movement survived as a guerrilla war under the leadership of Vicente Guerrero . By 1820 , the few rebel groups survived most notably in the Sierra Madre del Sur and Veracruz . The reinstatement of the liberal Constitution of Cadiz in 1820 caused a change of mind among the elite groups who had supported Spanish rule . Monarchist Creoles affected by the constitution decided to support the independence of New Spain ; they sought an alliance with the former insurgent resistance . Agustín de Iturbide led the military arm of the conspirators and in early 1821 he met Vicente Guerrero . Both proclaimed the Plan of Iguala , which called for the union of all insurgent factions and was supported by both the aristocracy and clergy of New Spain . It called for monarchy in an independent Mexico . Finally , the independence of Mexico was achieved on September 27 , 1821 . After that , the mainland of New Spain was organized as the Mexican Empire . This ephemeral Catholic monarchy changed to a federal republic in 1823 , due to internal conflicts and the separation of Central America from Mexico . After some Spanish reconquest attempts , including the expedition of Isidro Barradas in 1829 , Spain under the rule of Isabella II recognized the independence of Mexico in 1836 ., New Spain was a colonial territory of the Spanish Empire, in the New World north of the Isthmus of Panama. It was established following the Spanish conquest of the Aztec Empire in 1521, and following additional conquests, it was made a viceroyalty (Spanish: "virreinato") in 1535. The first of four viceroyalties Spain created in the Americas, it comprised Mexico, Central America, much of the Southwestern and Central United States, and Spanish Florida as well as the Philippines, Guam, Mariana and Caroline Islands. , Subject: mexican war of independence, Relation: end_time, Options: (A) 1278 (B) 15 (C) 1782 (D) 1821 (E) 1824 (F) 1995 (G) 2009 (H) 2012 (I) 2013 (J) 2015 (K) 27 september 1821
Output: 27 september 1821