page_title: Madrid
section_title: Modern Age
hierarchical_section_title: Madrid / History / Modern Age
context_page_description: Madrid is the capital and most populous city of Spain. The city has almost 3.3 million inhabitants and a metropolitan area population of approximately 6.5 million. It is the second-largest city in the European Union, surpassed only by Berlin, and its monocentric metropolitan area is the second-largest in the EU, surpassed only by Paris. The municipality covers 604.3 km².
  Madrid lies on the River Manzanares in the centre of both the country and the Community of Madrid region, of which it is also the capital. As the capital city of Spain, seat of government, residence of the Spanish monarch, Madrid is also the political, economic and cultural centre of the country. The mayor is José Luis Martínez-Almeida from the People's Party.
  The Madrid urban agglomeration has the third-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. Madrid is home to two world-famous football clubs, Real Madrid and Atlético Madrid.
context_section_description: During the revolt of the Comuneros, led by Juan de Padilla, Madrid joined the revolt against Emperor Charles V of Germany and I of Spain, but after defeat at the Battle of Villalar, Madrid was besieged and occupied by the royal troops. However, Charles I was generous to the town and gave it the titles of Coronada (Crowned) and Imperial. When Francis I of France was captured at the battle of Pavia, he was imprisoned in Madrid. And in the village is dated the Treaty of Madrid of 1526 (later denounced by the French) that resolved their situation.
  Is seen in the foreground the banks of the Manzanares, crossed by the predecessors to the Segovia Bridge (in the first third), and the Toledo Bridge (further south, right), which was built in a monumental form years later. The most prominent building in the north (left) is the Alcázar, which was part of the walled circuit and which would undergo several fires until the fatal one in 1734 that almost completely destroyed it and was replaced by the current Palacio Real. The following churches are seen in the village (from left to right: San Gil, San Juan, Santiago, San Salvador, Iglesia de San Miguel de los Octoes, San Nicolás, Santa María, San Justo, San Pedro, Capilla del Obispo, San Andrés and, outside the walls, San Francisco), that do not yet have even the profile of domes and chapiters by which they would be characterised in the following centuries. Outside the walls and on the river, there is a craft facility dedicated to the treatment of hides: the Pozacho Tanneries. The recent installation of the court imposed a regalía de aposento tax on private houses, which produced all kinds of resistance including, most notably, the construction of Casas a la malicia.
  The number of urban inhabitants grew from 4,060 in the year 1530 to 37,500 in the year 1594. The poor population of the court was composed of ex-soldiers, foreigners, rogues and Ruanes, dissatisfied with the lack of food and high prices. In June 1561 Philip II of Spain set his court in Madrid, installing it in the old alcázar. Thanks to this, the city of Madrid became the political centre of the monarchy, being the capital of Spain except for a short period between 1601 and 1606 (Philip III's reign), in which the Court was relocated to Valladolid. This fact was decisive for the evolution of the city and influenced its fate. Thus, during the rest of the reign of Philip II, the population boomed, going up from about 18,000 in 1561 to 80,000 in 1598.
  During the reign of Philip III and Philip IV, Madrid saw a period of exceptional cultural brilliance, with the presence of geniuses such as Miguel de Cervantes, Diego Velázquez, Francisco de Quevedo and Lope de Vega.
  The death of Charles II of Spain resulted in the War of the Spanish succession.  The city supported the claim of Philip of Anjou as Philip V. While the city was occupied in 1706 by a Portuguese army, who proclaimed king the Archduke Charles of Austria under the name of Charles III, and again in 1710, it remained loyal to Philip V.
  Philip V built the Royal Palace, the Royal Tapestry Factory and the main Royal Academies. But the most important Bourbon was King Charles III of Spain, who was known as "the best mayor of Madrid". Charles III took upon himself the feat of transforming Madrid into a capital worthy of this category. He ordered the construction of sewers, street lighting, cemeteries outside the city, and many monuments (Puerta de Alcalá, Cibeles Fountain), and cultural institutions (El Prado Museum, Royal Botanic Gardens, Royal Observatory, etc.). Despite being known as one of the greatest benefactors of Madrid, his beginnings were not entirely peaceful, as in 1766 he had to overcome the Esquilache Riots, a traditionalist revolt instigated by the nobility and clergy against his reformist intentions, demanding the repeal of the clothing decree ordering the shortening of the layers and the prohibition of the use of hats that hide the face, with the aim of reducing crime in the city. 
  The reign of Charles IV of Spain is not very meaningful to Madrid, except for th
caption: Baths in the Manzanares in the place of Molino Quemado (detail), by Félix Castello (c. 1634–1637)
exif: {"Image Make": "Canon", "Image Model": "Canon EOS 1200D", "Image Orientation": "Horizontal (normal)", "Image XResolution": "72", "Image YResolution": "72", "Image ResolutionUnit": "Pixels/Inch", "Image DateTime": "2040:02:07 19:10:33", "Image Artist": "", "Image YCbCrPositioning": "Co-sited", "Image Copyright": "", "Image ExifOffset": "360", "GPS GPSVersionID": "[2, 3, 0, 0]", "Image GPSInfo": "8326", "Thumbnail Compression": "JPEG (old-style)", "Thumbnail XResolution": "72", "Thumbnail YResolution": "72", "Thumbnail ResolutionUnit": "Pixels/Inch", "Thumbnail JPEGInterchangeFormat": "10216", "Thumbnail JPEGInterchangeFormatLength": "17792", "EXIF ExposureTime": "1/25", "EXIF FNumber": "7/2", "EXIF ExposureProgram": "Unidentified", "EXIF ISOSpeedRatings": "3200", "EXIF SensitivityType": "Recommended Exposure Index", "EXIF RecommendedExposureIndex": "3200", "EXIF ExifVersion": "0230", "EXIF DateTimeOriginal": "2040:02:07 19:10:33", "EXIF DateTimeDigitized": "2040:02:07 19:10:33", "EXIF ComponentsConfiguration": "YCbCr", "EXIF ShutterSpeedValue": "37/8", "EXIF ApertureValue": "29/8", "EXIF ExposureBiasValue": "0", "EXIF MeteringMode": "Pattern", "EXIF Flash": "Flash did not fire, compulsory flash mode", "EXIF FocalLength": "18", "EXIF SubSecTime": "83", "EXIF SubSecTimeOriginal": "83", "EXIF SubSecTimeDigitized": "83", "EXIF FlashPixVersion": "0100", "EXIF ColorSpace": "sRGB", "EXIF ExifImageWidth": "5184", "EXIF ExifImageLength": "3456", "Interoperability InteroperabilityIndex": "R98", "Interoperability InteroperabilityVersion": "[48, 49, 48, 48]", "EXIF InteroperabilityOffset": "8102", "EXIF FocalPlaneXResolution": "1036800/181", "EXIF FocalPlaneYResolution": "691200/119", "EXIF FocalPlaneResolutionUnit": "2", "EXIF CustomRendered": "Normal", "EXIF ExposureMode": "Auto Exposure", "EXIF WhiteBalance": "Auto", "EXIF SceneCaptureType": "Standard", "EXIF CameraOwnerName": "", "EXIF BodySerialNumber": "313074045053", "EXIF LensSpecification": "[18, 55, 0/0, 0/0]", "EXIF LensModel": "EF-S18-55mm f/3.5-5.6 III", "EXIF LensSerialNumber": "0000979231"}