Madrid is the capital and most populous city of Spain. The city has 3.4 million inhabitants and is the second-largest city in the European Union. Madrid lies on the River Manzanares in the central part of the Iberian Peninsula. Madrid is also the political, economic and cultural center of the country.