Madrid Madrid Madrid (, ) is the capital of Spain and the largest municipality in both the Community of Madrid and Spain as a whole. The city has almost 3.2 million inhabitants and a metropolitan area population of approximately 6.5 million. It is the third-largest city in the European Union (EU), smaller than only London and Berlin, and its monocentric metropolitan area is the third-largest in the EU, smaller only than those of London and Paris. The municipality covers . Madrid lies on the River Manzanares in the centre of both the country and the Community of Madrid (which comprises the
Madrid be a city with representation in the courts of Castile. In 1202, King Alfonso VIII of Castile gave Madrid its first charter to regulate the municipal council, which was expanded in 1222 by Ferdinand III of Castile. In 1309, the Courts of Castile were joined in Madrid for the first time under Ferdinand IV of Castile, and later in 1329, 1339, 1391, 1393, 1419 and twice in 1435. Since the unification of the kingdoms of Spain under a common Crown, the Courts were convened in Madrid more often. During the revolt of the Comuneros, led by Juan de Padilla, Madrid