

TheWalls of Madrid (Spanish:cerca de Madrid, tapia de Madrid) are the five successive sets of walls that surrounded the city ofMadrid from theMiddle Ages until the end of the 19th century. Some of the walls had a defensive or military function, while others made it easy to tax goods entering the city. Towards the end of the 19th century thedemographic explosion that came with theIndustrial Revolution prompted urbanexpansion throughout Spain. Older walls were torn down to enable the expansion of the city under thegrid plan ofCarlos María de Castro.[1][2]

The Muslim Walls of Madrid, of which some vestiges remain, are probably the oldest construction in the city. The walls were built in the 9th century, during theperiod of Muslim rule in theIberian Peninsula. They were part of a fortress around which developed the urban nucleus of Madrid and started on a promontory next to theManzanares river.[3] To defend thealmudaina or Muslim citadel of Mayrit,UmayyadEmir ofCordobaMuhammad I ordered the walls to be built between the years 860 and 880[4] near the site currently occupied by theRoyal Palace.[5] According to historian Jerónimo de Quintana, the walls were "very strong of masonry and mortar, raised and thick, twelve feet [almost three and half meters] in width, with large cubes, towers gatehouses and moats."[6]
Ruins of the walls still stand along theCalle Mayor street, at number 83, next to theviaduct that serves the Calle de Segovia, along with the ruins of theTower of Narigües, which probably would have been analbarrana tower.[7] A 70 m (230 ft) long section exists under the Plaza de la Armería, formed by the main façades of theRoyal Palace andAlmudena Cathedral.[8]
The Muslim walls were declared anArtistic-Historic Monument in 1954.[3]

The Christian Walls of Madrid, also known as the Medieval Walls, were built between the 11th and 12th centuries, after theReconquista. They were built as an extension of the original Muslim Walls to accommodate the new districts that emerged after the city passed to theCrown of Castile. Tradition attributes construction to KingAlfonso VII of León and Castile (1126–1157) although it is assumed that work began before his reign, during the reign ofAlfonso VI of León and Castile (1040–1109).[9]
WhenPhilip II moved his court to Madrid fromValladolid in 1561, the walls fell into disuse and were almost entirely demolished. Some of the walls are integrated into the structure of various buildings ofEl Madrid de los Austrias, theHabsburgs's historic center of the city.[9]
The remains that are still standing were declared aHistorical and Artistic Monument in 1954.[3]

The Walls del Arrabal (walls of the suburb) were the third set of walls, an expansion of the Christian Walls, built around Madrid, by now the capital of Spain. There are no remaining traces of the walls, leaving some question as to their extent and the period of their construction. It is possible that the walls were built as early as the 12th century, however they were most likely constructed around 1438. The walls may have been intended to protect the population against theplagues that ravaged Spain at the time.[10] The walls integrated the suburbs with the city and prevented entry of the infected.[11]
After the construction of the Medieval Walls, the city continued to grow eastward, with the population increasing from 5,000 to 12,000 inhabitants from the mid-15th to early 16th century. The suburbs, orarrabales, took their names from convents, hermitages and churches constructed outside the Muslim Walls in the 12th century.[12] The first of these, known from 1126, was theArrabal of Saint Martin corresponding to theConvent of San Martín [es], followed by that of San Ginés by theChurch of San Ginés de Arlés.[13]
The walls started from the gate Puerta Cerrada. They surrounded Calle Concepción Jerónima, Conde de Romanones, Plaza de Jacinto Benavente, Calle Carretas,Plaza de la Puerta del Sol,Calle Preciados or Carmen,Plaza de Santo Domingo, Cuesta de Santo Domingo andPlaza de Isabel II. Later, around 1520, the southern part of the wall was extended to enclose more of the city, starting from the Puerta de Moros, following the present streets San Millán, Duque de Alba, Plaza de Tirso de Molina, and Calle Conde Romanones, and continuing with the original course of the mid-15th century.[14]

The Walls of Philip II were constructed byPhilip II, in 1566, for fiscal and sanitary control. The walls enclosed an area approximately 125 hectares (310 acres) in area.[15]
The walls started from the end of the Christian Walls to the current Calle Segovia, and continued through the streets of las Aguas, Águila, Calatrava, Santa Ana, Juanelo, Cabeza, Magdalena, between the Plaza de Matute y the Calle León, by the streets Echegaray, Cedaceros, Arlabán, Virgen de los Peligros, Aduana,Montera,Gran Vía, joining to theWalls del Arrabal in the Plaza del Callao.[16]
Remains of these walls are found in Calle de Bailén next to the extension of thePalacio del Senado.[17]

The Walls of Felipe IV were built around the city of Madrid between 1625 and 1868.[18]Philip IV ordered their construction to replace the earlierWalls of Philip II and theWalls del Arrabal, which had already been surpassed by the growth of population of Madrid. These were not defensive walls, but essentially served fiscal and surveillance purposes: to control the access of goods to the city, ensure the collection of taxes, and to monitor who went in and out of Madrid. The materials used for construction were brick, mortar and compactedearth.[19]
The walls began from the current Cuesta de la Vega, continuing via the Rondas of Segovia, Toledo, Valencia andAtocha,plaza del Emperador Carlos V, the avenues of Ciudad de Barcelona and Menéndez Pelayo,Calle de Alcalá,plaza de la Independencia, the streets of Serrano, Jorge Juan,plaza de Colón, Génova, Sagasta, Carranza, and then turning left in San Bernardo going by Santa Cruz de Marcenado, Serrano Jover, la Princesa, Ventura Rodríguez, Ferraz, Cuesta de San Vicente, Paseo de la Virgen del Puerto and running alongside theCampo del Moro, until finally linking again with Cuesta de la Vega.[19]
The route of the wall was adapted to the configuration of the terrain, which made it very irregular. By 1650 it covered theMountain del Príncipe Pío, theBuen Retiro and theHermitage of Atocha. It prevented the city's growth, thereby keeping its population in overcrowded conditions for over two hundred years.[20]
{{cite book}}: CS1 maint: location missing publisher (link){{cite book}}:|work= ignored (help){{cite book}}:|work= ignored (help)40°24′54″N03°42′53″W / 40.41500°N 3.71472°W /40.41500; -3.71472