Question: How many meters higher than the sea is the city where Mexico won its freedom from Spain?

full_context: Document 1: Mexico: Mexico (Spanish: México [ˈmexiko] (listen); Nahuatl languages: Mēxihco), officially the United Mexican States (Spanish: Estados Unidos Mexicanos [esˈtaðos uˈniðoz mexiˈkanos] (listen)), is a country in the southern portion of North America. It is bordered to the north by the United States; to the south and west by the Pacific Ocean; to the southeast by Guatemala, Belize, and the Caribbean Sea; and to the east by the Gulf of Mexico. Covering almost 2,000,000 square kilometers (770,000 sq mi), the nation is the fifth largest country in the Americas by total area and the 13th largest independent state in the world. With an estimated population of over 120 million people, the country is the tenth most populous state and the most populous Spanish-speaking state in the world, while being the second most populous nation in Latin America after Brazil. Mexico is a federation comprising 31 states and Mexico City, a special federal entity that is also the capital city and its most populous city. Other metropolises in the state include Guadalajara, Monterrey, Puebla, Toluca, Tijuana and León.
Document 2: Chihuahua (state): During the Napoleonic Occupation of Spain, Miguel Hidalgo y Costilla, a Catholic priest of progressive ideas, declared Mexican independence in the small town of Dolores, Guanajuato on September 16, 1810 with a proclamation known as the "Grito de Dolores". Hidalgo built a large support among intellectuals, liberal priests and many poor people. Hidalgo fought to protect the rights of the poor and indigenous population. He started on a march to the capital, Mexico City, but retreated back north when faced with the elite of the royal forces at the outskirts of the capital. He established a liberal government from Guadalajara, Jalisco but was soon forced to flee north by the royal forces that recaptured the city. Hidalgo attempted to reach the United States and gain American support for Mexican independence. HIdalgo reached Saltillo, Coahuila where he publicly resigned his military post and rejected a pardon offered by Viceroy Francisco Venegas in return for Hidalgo's surrender. A short time later, he and his supporters were captured by royalist Ignacio Elizondo at the Wells of Baján (Norias de Baján) on March 21, 1811 and taken to the city of Chihuahua. Hidalgo forced the Bishop of Valladolid, Manuel Abad y Queipo, to rescind the excommunication order he had circulated against him on September 24, 1810. Later, the Inquisition issued an excommunication edict on October 13, 1810 condemning Miguel Hidalgo as a seditionary, apostate, and heretic.
Document 3: Mexico City: Mexico City, or the City of Mexico (Spanish: Ciudad de México, American Spanish: (sjuˈða (ð) ðe ˈmexiko) (listen); abbreviated as CDMX, Nahuatl languages: Āltepētl Mēxihco), is the capital of Mexico and the most populous city in North America. Mexico City is one of the most important cultural and financial centres in the Americas. It is located in the Valley of Mexico (Valle de México), a large valley in the high plateaus in the center of Mexico, at an altitude of 2,240 meters (7,350 ft). The city has 16 boroughs.
Document 4: Mexican War of Independence: On September 27, 1821 the Army of the Three Guarantees entered Mexico City, and the following day Iturbide proclaimed the independence of the Mexican Empire, as New Spain was henceforth to be called. The Treaty of Córdoba was not ratified by the Spanish Cortes. Iturbide included a special clause in the treaty that left open the possibility for a criollo monarch to be appointed by a Mexican congress if no suitable member of the European royalty would accept the Mexican crown. Half of the new government employees appointed were Iturbide's followers.
Document 5: First Mexican Empire: It existed from the signing of the Treaty of Córdoba and the declaration of Independence of the Mexican Empire in September 1821 until the emperor's abdication in March 1823 when the Provisional Government took power and the First Mexican Republic was proclaimed in 1824. The first and only monarch of the state was Agustín de Iturbide, reigning as Agustín I of Mexico, for less than eight months. The empire was briefly reestablished by the French in 1863.
Document 6: Chihuahua (state): Hidalgo is hailed as the Father of the Nation even though it was Agustin de Iturbide and not Hidalgo who achieved Mexican Independence in 1821. Shortly after gaining independence, the day to celebrate it varied between September 16, the day of Hidalgo's Grito, and September 27, the day Iturbide rode into Mexico City to end the war. Later, political movements would favor the more liberal Hidalgo over the conservative Iturbide, so that eventually September 16, 1810 became the officially recognized day of Mexican independence. The reason for this is that Hidalgo is considered to be "precursor and creator of the rest of the heroes of the (Mexican War of) Independence." Hidalgo has become an icon for Mexicans who resist tyranny in the country. Diego Rivera painted Hidalgo's image in half a dozen murals. José Clemente Orozco depicted him with a flaming torch of liberty and considered the painting among his best work. David Alfaro Siqueiros was commissioned by San Nicolas University in Morelia to paint a mural for a celebration commemorating the 200th anniversary of Hidalgo's birth. The town of his parish was renamed Dolores Hidalgo in his honor and the state of Hidalgo was created in 1869. Every year on the night of 15–16 September, the president of Mexico re-enacts the Grito from the balcony of the National Palace. This scene is repeated by the heads of cities and towns all over Mexico. The remains of Miguel Hidalgo y Costilla lie in the column of the Angel of Independence in Mexico City. Next to it is a lamp lit to represent the sacrifice of those who gave their lives for Mexican Independence.
Document 7: Mexico City: Mexico City, or the City of Mexico (Spanish: Ciudad de México  audio (help·info) American Spanish: [sjuˈða(ð) ðe ˈméxiko]; abbreviated as "CDMX"), is the capital of Mexico. As an "alpha" global city, Mexico City is one of the most important financial centers in the Americas. It is located in the Valley of Mexico (Valle de México), a large valley in the high plateaus at the center of Mexico, at an altitude of 2,240 metres (7,350 ft). The city consists of sixteen municipalities (previously called boroughs).
Document 8: Mexico City: Mexico City is one of the most important economic hubs in Latin America. The city proper (Federal District) produces 15.8% of the country's gross domestic product. According to a study conducted by PwC, Mexico City had a GDP of $390 billion, ranking it as the eighth richest city in the world after the greater metropolitan areas of Tokyo, New York City, Los Angeles, Chicago, Paris, London and Osaka/Kobe (and the richest in the whole of Latin America). Excluding the rest of the Mexican economy, Mexico City alone would rank as the 30th largest economy in the world. Mexico City is the greatest contributor to the country's industrial GDP (15.8%) and also the greatest contributor to the country's GDP in the service sector (25.3%). Due to the limited non-urbanized space at the south—most of which is protected through environmental laws—the contribution of the Federal District in agriculture is the smallest of all federal entities in the country. Mexico City has one of the world's fastest-growing economies and its GDP is set to double by 2020.
Document 9: Mexico City: The Acta Constitutiva de la Federación of January 31, 1824, and the Federal Constitution of October 4, 1824, fixed the political and administrative organization of the United Mexican States after the Mexican War of Independence. In addition, Section XXVIII of Article 50 gave the new Congress the right to choose where the federal government would be located. This location would then be appropriated as federal land, with the federal government acting as the local authority. The two main candidates to become the capital were Mexico City and Querétaro.
Document 10: Mexican War of 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 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 Agustín de Iturbide to Mexico City on September 27, 1821. September 16 is celebrated as Mexican Independence Day.
Document 11: Mexico City: Mexico City, being the seat of the powers of the Union, did not belong to any particular state but to all. Therefore, it was the president, representing the federation, who used to designate the head of government of the Federal District, a position which is sometimes presented outside Mexico as the "Mayor" of Mexico City.[citation needed] In the 1980s, given the dramatic increase in population of the previous decades, the inherent political inconsistencies of the system, as well as the dissatisfaction with the inadequate response of the federal government after the 1985 earthquake, residents began to request political and administrative autonomy to manage their local affairs.[citation needed] Some political groups even proposed that the Federal District be converted into the 32nd state of the federation.
Document 12: Mexico City: The Grito de Dolores ("Cry of Dolores") also known as El Grito de la Independencia ("Cry of Independence"), uttered from the small town of Dolores near Guanajuato on September 16, 1810, is the event that marks the beginning of the Mexican War of Independence and is the most important national holiday observed in Mexico. The "Grito" was the battle cry of the Mexican War of Independence by Miguel Hidalgo y Costilla, a Roman Catholic priest. Hidalgo and several criollos were involved in a planned revolt against the Spanish colonial government, and the plotters were betrayed. Fearing his arrest, Hidalgo commanded his brother Mauricio as well as Ignacio Allende and Mariano Abasolo to go with a number of other armed men to make the sheriff release the pro-independence inmates there on the night of September 15. They managed to set eighty free. Around 6:00 am September 16, 1810, Hidalgo ordered the church bells to be rung and gathered his congregation. Flanked by Allende and Juan Aldama, he addressed the people in front of his church, encouraging them to revolt. The Battle of Guanajuato, the first major engagement of the insurgency, occurred four days later. Mexico's independence from Spain was effectively declared in the Declaration of Independence of the Mexican Empire on September 27, 1821, after a decade of war. Unrest followed for the next several decades, as different factions fought for control of Mexico.
Document 13: Mexico City: Mexico City is located in the Valley of Mexico, sometimes called the Basin of Mexico. This valley is located in the Trans-Mexican Volcanic Belt in the high plateaus of south-central Mexico. It has a minimum altitude of 2,200 meters (7,200 feet) above sea level and is surrounded by mountains and volcanoes that reach elevations of over 5,000 metres (16,000 feet). This valley has no natural drainage outlet for the waters that flow from the mountainsides, making the city vulnerable to flooding. Drainage was engineered through the use of canals and tunnels starting in the 17th century.
Document 14: Mexico City: Mexico’s capital is both the oldest capital city in the Americas and one of two founded by Amerindians (Native Americans), the other being Quito. The city was originally built on an island of Lake Texcoco by the Aztecs in 1325 as Tenochtitlan, which was almost completely destroyed in the 1521 siege of Tenochtitlan, and subsequently redesigned and rebuilt in accordance with the Spanish urban standards. In 1524, the municipality of Mexico City was established, known as México Tenochtitlán, and as of 1585 it was officially known as Ciudad de México (Mexico City). Mexico City served as the political, administrative and financial center of a major part of the Spanish colonial empire. After independence from Spain was achieved, the Federal District was created in 1824.
Document 15: Chihuahua (state): In consequence to the Reform War, the federal government was bankrupt and could not pay its foreign debts to Spain, England, and France. On July 17, 1861, President Juárez decreed a moratorium on payment to foreign debtors for a period of two years. Spain, England, and France did not accept the moratorium by Mexico; they united at the Convention of the Triple Alliance on October 31, 1861 in which they agreed to take possession of several custom stations within Mexico as payment. A delegation of the Triple Alliance arrived in Veracruz in December 1861. President Juárez immediately sent his Foreign Affairs Minister, Manuel Doblado, who is able to reduce the debts through the Pacto de Soledad (Soledad Pact). General Juan Prim of Spain persuaded the English delegation to accept the terms of the Pacto de Soledad, but the French delegation refused.
ground_truth: 2,240
sub_queries: where did mexico win its independence from spain Answer: Mexico City
How many meters above sea is Mexico City ? Answer: 2,240