Title: Madrid
Content:  Madrid is the capital and most populous city of Spain. The city has almost 3.4 million inhabitants and a metropolitan area population of approximately 6.7 million. It is the second-largest city in the European Union (EU), surpassed only by Berlin in its administrative limits, and its monocentric metropolitan area is the second-largest in the EU, surpassed only by Paris. The municipality covers 604.3 km2 geographical area. Madrid lies on the River Manzanares in the central part of the Iberian Peninsula. Capital city of both Spain (almost without interruption since 1561) and the surrounding autonomous community of Madrid (since 1983), it is also the political, economic and cultural centre of the country. 
Title: Madrid
Content:  Madrid is the capital of the Community of Madrid. The region has its own legislature and enjoys a wide range of competencies in areas such as social spending, healthcare, and education. The seat of the regional parliament, the Assembly of Madrid, is located at the district of Puente de Vallecas. The presidency of the regional government is headquartered at the Royal House of the Post Office at the very centre of the city, the Puerta del Sol.
Title: Madrid
Content:  Madrid is the capital of Spain. The King of Spain, the country's head of state, has his official residence in the Zarzuela Palace. As the seat of the Government of Spain, Madrid also houses the official residence of the President of the Government (Prime Minister) and regular meeting place of the Council of Ministers, the Moncloa Palace, as well as the headquarters of the ministerial departments. Both the residences of the head of state and government are located at the northwest of the city. Additionally, the seats of the Lower and Upper Chambers of the Spanish Parliament, the Cortes Generales (respectively, the Palacio de las Cortes and the Palacio del Senado), also lie on Madrid.
Title: Madrid
Content:  mayor is José Luis Martínez-Almeida from the People's Party. The Madrid urban agglomeration has the second-largest GDP in the European Union and its influence in politics, education, entertainment, environment, media, fashion, science, culture, and the arts all contribute to its status as one of the world's major global cities. Due to its economic output, high standard of living, and market size, Madrid is considered the major financial centre and the leading economic hub of the Iberian Peninsula and of Southern Europe. The metropolitan area hosts major Spanish companies such as Telefónica, Iberia, BBVA and FCC. It concentrates the bulk of banking operations in the country and it is the Spanish-speaking 
Title: Madrid
Content: Asunción, Paraguay ; Bogotá, Colombia ; Buenos Aires, Argentina ; Caracas, Venezuela ; Guatemala City, Guatemala ; Havana, Cuba ; La Paz, Bolivia ; Lima, Peru ; Lisbon, Portugal ; Managua, Nicaragua ; Mexico City, Mexico ; Montevideo, Uruguay ; Panama City, Panama ; Quito, Ecuador ; Rio de Janeiro, Brazil ; San Jose, Costa Rica ; San Juan, Puerto Rico ; San Salvador, El Salvador ; Santiago, Chile ; Santo Domingo, Dominican Republic ; Tegucigalpa, Honduras Madrid is part of the Union of Ibero-American Capital Cities establishing brotherly relations with the following cities through the issuing of a collective statement in October 1982: 
Title: Demographics of Madrid
Content:  In January 2020, the municipality of Madrid, capital of Spain, had a population of 3,345,894 registered inhabitants in an area of 604.3 km2. Thus, the city's population density was about 5,337 inhabitants per km². Madrid is Spain's largest city and the second most populous city proper in the European Union, after Berlin.
Title: City Council of Madrid
Content:  The City Council of Madrid (Ayuntamiento de Madrid) is the top-tier administrative and governing body of the Madrid, the capital and biggest city of Spain. The City Council is composed by three bodies; the Mayor who leads the City Council and the executive branch of it, the Governing Council (Junta de Gobierno) which is the main body of the executive branch composed by the Mayor and the councillors appointed by him and the Plenary, a democratically elected assembly which represents the people of Madrid. The current Mayor of Madrid is José Luis Martínez-Almeida since June 2019.
Title: Community of Madrid
Content:  The Community of Madrid (Comunidad de Madrid ) is one of the seventeen autonomous communities of Spain. It is located in the centre of the Iberian Peninsula, and of the Central Plateau (Meseta Central). Its capital and largest municipality is Madrid, which is also the capital of the country. The Community of Madrid is bounded to the south and east by Castilla–La Mancha and to the north and west by Castile and León. It was formally created in 1983, based on the limits of the province of Madrid, which was until then conventionally included in the historical region of New Castile. The Community of Madrid is the 
Title: Economy of Madrid
Content:  As the national capital, Madrid concentrates activities directly connected with power (central and regional government, headquarters of Spanish companies, regional HQ of multinationals, financial institutions) and with knowledge and technological innovation (research centres and universities). It is one of Europe's largest financial centres and the largest in Spain. In 2008, 72% of Spain's largest 2,000 companies had their headquarters in Madrid. The city has 17 universities and over 30 research centres. Although the service sector predominates in its economy, Madrid continues to hold the position of Spain's second industrial centre after Barcelona, specialising particularly in high-technology production. Its location at the centre of the peninsula permits it to articulate the long-distance transport networks of the peninsula. The comparative advantages of Madrid have been decisive in capturing the larger part of foreign investment coming into Spain in recent years. It is the third metropolis in the EU by population, and the fourth by gross internal product. Leading employers include Telefónica, Iberia, Prosegur, BBVA, Urbaser, Dragados, and FCC.
Title: Madrid
Content:  Madrid concentrates activities directly connected with power (central and regional government, headquarters of Spanish companies, regional HQ of multinationals, financial institutions) and with knowledge and technological innovation (research centres and universities). It is one of Europe's largest financial centres, and the largest in Spain. The city has 17 universities and over 30 research centres. It is the second metropolis in the EU by population, and the third by gross internal product. Leading employers include Telefónica, Iberia, Prosegur, BBVA, Urbaser, Dragados, and FCC. The Community of Madrid, the region comprising the city and the rest of municipalities of the province, had a GDP of €220B in 2017, equating to a GDP per capita of €33,800. In 2011 the city itself had a GDP per capita 74% above the national average and 70% 

Question: What is Madrid the capital of?
Answer: Spain.
Spain.
España.
Kingdom of Spain.
ES.
ESP.
First Spanish Republic.
Community of Madrid.
Madrid autonomous community.
Madrid province.
Comunidad de Madrid.
Autonomous Community of Madrid.