History of Madrid


The documented history of Madrid dates to the 9th century, even though the area has been inhabited since the Stone Age. The development of Madrid as administrative centre began when Philip II set his court there in the 1560s. Madrid has been the country's capital continuously since 1606.

History of name

There are several theories regarding the origin of the name "Madrid". According to legend, Madrid was founded by Ocno Bianor and was named "Metragirta" or "Mantua Carpetana". Others contend that the original name of the city was "Ursaria", because of the many bears that were to be found in the nearby forests, which, together with the strawberry tree, have been the emblem of the city from the Middle Ages.
The most ancient recorded name of the city "Magerit" comes from the name of a fortress built on the Manzanares River in the 9th century AD, and means "Place of abundant water." If the form is correct, it could be a Celtic place-name from ritu- 'ford' and a first element, that is not clearly identified *mageto derivation of magos 'field, plain', or matu 'bear', that could explain the Latin translation Ursalia.
Nevertheless, it is now commonly believed that the origin of the current name of the city comes from the 2nd century BC. The Roman Empire established a settlement on the banks of the Manzanares river. The name of this first village was "Matrice". Following the invasions carried out by the Germanic Sueves and Vandals, as well as the Sarmatic Alans during the 5th century AD, the Roman Empire no longer had the military presence required to defend its territories on the Iberian Peninsula.
As a consequence, these territories were soon occupied by the Vandals, who were in turn dispelled by the Visigoths, who then ruled Hispania in the name of the Roman emperor, also taking control of "Matrice". In the 8th century, the Umayyad conquest of the Iberian Peninsula saw the name changed to "Mayrit", from the Arabic term ميرا Mayra and the Ibero-Roman suffix it that means 'place'. The modern "Madrid" evolved from the Mozarabic "Matrit."

Early history

The site of modern-day Madrid has been controlled since prehistoric times, and archaeological research found a small Visigothic village nearby.
In the mid-9th century, Muhammad I of Córdoba constructed a small castle where the Palacio Real stands today. The Moors built a citadel, al-Mudayna, around this castle. They named the area after the nearby Manzanares River, which the Muslims called al-Majrīṭ. From this came the name Majerit or Magerit in Spanish, later spelled Madrid.
The place is mentioned in the work of the 10th-century Cordobese chronicler Ahmad ibn Muhammad al-Razi, with the later locating the Castle of Madrid within the district of Guadalajara. After the Christian conquest, in the first half of the 12th century Al-Idrisi described Madrid as "small city and solid fortress, well populated. In the age of Islam, it had a small mosque where the khuṭbah was always delivered," and placed it in the province of the sierra, "al-Sārrāt". It was ascribed by most post-Christian conquest Muslim commentators, including Ibn Sa'id al-Maghribi, to Toledo. This may tentatively suggest that the settlement, part of the cora of Guadalajara according to al-Razi, could have been transferred to Toledo following the Fitna of al-Andalus.
The Moors controlled the citadel until Alfonso VI of León and Castile conquered them in 1085 in his advance towards Toledo. He reconsecrated the mosque as the church of the Virgin of Almudena.
Since the mid-13th century and up to the late 14th century, the concejo of Madrid vied for the control of the Real de Manzanares territory against the concejo of Segovia, a powerful town north of the Sierra de Guadarrama mountain range, characterised by its repopulating prowess and its husbandry-based economy, contrasted by the agricultural and less competent in repopulation town of Madrid. After the decline of Sepúlveda, another concejo north of the mountain range, Segovia had become a major actor south of the Guadarrama mountains, expanding across the Lozoya and Manzanares rivers to the north of Madrid and along the Guadarrama river course to its west.
In 1329 Ferdinand IV of Castile first assembled the Cortes, a precursor to the modern Spanish parliament. Although it was ruled by Christian kings, many Sephardic Jews and Moors lived in Madrid until they were expelled at the end of the 15th century.
In 1383, Leo VI of Armenia was named Lord of Madrid by King John I of Castile. John had previously ransomed Leo from Egyptian Mamluks, offering precious stones, silks and birds of prey for Leo's release. When Leo arrived in Medina del Campo, he was sick and poor. John granted him the town of Madrid for life, Villa Real and Andújar and a yearly gift of 150,000 maravedis. He rebuilt the towers of the alcázar. Leo ruled for only a few years.
Later, Henry III of Castile rebuilt the city after it was destroyed by fire, and he founded El Pardo just outside its walls.
During the 15th century, the city became one of the preferred locations of the monarchs of the Trastámara dynasty, namely John II of Castile and Henry IV of Castile. Among the appeals the town offered, aside from the abundant game in the surroundings, the strategic location and the closed link between the existing religious sites and the monarchy, the imposing alcázar frequently provided a safe for the Royal Treasure. Madrid would also become a frequent seat of the court during the reign of the Catholic Monarchs, spending reportedly more than 1000 days in the city, including a 8-month long uninterrupted spell.
The Kingdoms of Castile and Aragón became further united during the rule of Charles.
The 1520–21 Revolt of the Comuneros succeeded in the city, as, following contacts with the neighbouring city of Toledo, the comunero rebels deposed the corregidor, named Antonio de Astudillo, by 17 June 1520. Juan Zapata and Pedro de Montemayor found themselves among the most uncompromising supporters of the comunero cause in Madrid, with the former becoming the captain of the local militias while the later was captured by royalists and executed by late 1520. The end of revolt came through a negotiation, though, and another two of the leading figures of the uprising went unpunished.

Becoming capital of Spain

, which was part of the city wall and would suffer several fires until it was almost completely destroyed in 1734 and was replaced by the current Palacio Real. Several churches can be seen, but without the domes and chapiters by which they would be characterized in the following centuries. By the river, there is a facility for the treatment of hides: the Pozacho tanneries. The recent installation of the court had imposed a regalía de aposento tax on private houses, which led to all kinds of resistance including, most notably, the construction of casas a la malicia.
Philip II, moved the court to Madrid in 1561. Although he made no official declaration, the seat of the court became the de facto capital. Unlikely to have more than 20,000 inhabitants by the time, the city grew approaching the 100,000 mark by the end of the 16th century. The population plummeted during the 5-year period the capital was set in Valladolid, with estimations of roughly 50–60,000 people leaving the city. The move was promoted by the valido of Philip III, Duke of Lerma, who had previously acquired many properties in Valladolid. Madrid undertook a mammoth cultural and economic crisis and the decimation of the price of housing ensued. Lerma acquired then cheap real estate in Madrid, and suggested the King to move back the capital to Madrid. The King finally accepted the additional ducats offered by the town of Madrid in order to help financing the move of the Royal Court back to Madrid.
During the 17th century, Madrid had a estate-based society. The nobility, a quantitatively large group, swarmed around the Royal Court. The ecclesial hierarchy, featuring a nobiliary extraction, shared the with the nobility the echelon of the Madrilenian society. The lower clergy, featuring a humble extraction, usually had a rural background, although clerics regular often required certifications of limpieza de sangre if not hidalguía. There were plenty of civil servants, who enjoyed considerable social prestige. There was a comparatively small number of craftsmen, traders and goldsmiths. Domestic staff was also common with servants such as pages, squires, butlers and also slaves. And lastly at the lowest end, there were homeless people, unemployed immigrants, and discharged soldiers and deserters.
During the 17th century, Madrid grew rapidly. The royal court attracted many of Spain's leading artists and writers to Madrid, including Cervantes, Lope de Vega, and Velázquez during the so-called cultural Siglo de Oro.
By the end of the Ancient Regime, Madrid hosted a slave population, tentatively estimated to range from 6,000 to 15,000 out of total population larger than 150,000. Unlike the case of other Spanish cities, during the 18th century the slave population in Madrid was unbalanced in favour of males over females.
In 1739 Philip V began constructing new palaces, including the Palacio Real de Madrid. Under Charles III that Madrid became a truly modern city. Charles III, who cleaned up the city and its government, became one of the most popular kings to rule Madrid, and the saying "the best mayor, the king" became widespread. Besides completing the Palacio Real, Charles III is responsible for many of Madrid's finest buildings and monuments, including the Prado and the Puerta de Alcalá.
Amid one of the worst subsistence crises of the Bourbon monarchy, the installation of news lanterns for the developing street lighting system—part of the new modernization policies of the Marquis of Esquilache, the new Sicilian minister—led to an increase on oil prices. This added to an increasing tax burden imposed on a populace already at the brink of famine. In this context, following the enforcing of a ban of the traditional Spanish dress in order to facilitate the identification of criminal suspects, massive riots erupted in March 1766 in Madrid, the so-called "Mutiny of Esquilache".
During the second half of the 18th century the increasing number of carriages brought a collateral increment of pedestrian accidents, forcing the authorities to take measures against traffic, limiting the number of animals per carriage and eventually decreeing the full ban of carriages in the city.

War of independence

On 27 October 1807, Charles IV and Napoleon signed the Treaty of Fontainebleau, which allowed French troops passage through Spanish territory to join Spanish troops and invade Portugal, which had refused to obey the order for an international blockade against England. In February 1808, Napoleon used the excuse that the blockade against England was not being respected at Portuguese ports to send a powerful army under his brother-in-law, General Joachim Murat. Contrary to the treaty, French troops entered via Catalonia, occupying the plazas along the way. Thus, throughout February and March 1808, cities like Barcelona and Pamplona remained under French rule.
, by Francisco Goya
While all this was happening, the Mutiny of Aranjuez took place, led by Charles IV's own son, crown prince Ferdinand, and directed against him. Charles IV resigned and Ferdinand took his place as King Ferdinand VII. In May 1808, Napoleon's troops entered the city. On 2 May 1808, the Madrileños revolted against the French forces, whose brutal behavior would have a lasting impact on French rule in Spain and France's image in Europe in general. Thus, Ferdinand VII returned to a city that had been occupied by Murat.
Both the king and his father became virtual prisoners of the French army. Napoleon, taking advantage of the weakness of the Bourbons, forced both, first the father and then the son, to meet him at Bayonne, where Ferdinand VII arrived on 20 April. Here Napoleon forced both kings to abdicate on 5 May, handing the throne to his brother Joseph Bonaparte.
On 2 May, the crowd began to concentrate at the Palacio Real and watched as the French soldiers removed the royal family members from the palace. On seeing the
infante Francisco de Paula struggling with his captor, the crowd launched an assault on the carriages, shouting ¡Que se lo llevan!. French soldiers fired into the crowd. The fighting lasted for hours and is reflected in Goya's painting, The Second of May 1808, also known as The Charge of the Mamelukes''.
.
Meanwhile, the Spanish military remained garrisoned and passive. Only the artillery barracks at Monteleón under Captain Luis Daoíz y Torres, manned by four officers, three NCOs and ten men, resisted. They were later reinforced by a further 33 men and two officers led by Pedro Velarde y Santillán, and distributed weapons to the civilian population. After repelling a first attack under French General Lefranc, both Spanish commanders died fighting heroically against reinforcements sent by Murat. Gradually, the pockets of resistance fell. Hundreds of Spanish men and women and French soldiers were killed in this skirmish.
On 12 August 1812, following the defeat of the French forces at Salamanca, English and Portuguese troops entered Madrid and surrounded the fortified area occupied by the French in the district of Retiro. Following two days of Siege warfare, the 1,700 French surrendered and a large store of arms, 20,000 muskets and 180 cannon, together with many other supplies were captured, along with two French Imperial Eagles.
On 29 October, Hill received Wellington's positive order to abandon Madrid and march to join him. After a clash with Soult's advance guard at Perales de Tajuña on the 30th, Hill broke contact and withdrew in the direction of Alba de Tormes. Joseph re-entered his capital on 2 November.

Fernandine Madrid (1814–1833)

After the war of independence Ferdinand VII returned to the throne. The projects of reform by Joseph Bonaparte were abandoned; during the Fernandine period, despite the proposal of several architectural projects for the city, the lack of ability to finance those led to works often being postponed or halted.
After a liberal military revolution, Colonel Riego made the king swear to respect the Constitution. Liberal and conservative government thereafter alternated, ending with the enthronement of Isabella II.

Reign of Isabella II (1833–1868)

By the time the reign of Isabella II started, the city was still enclosed behind its walls, featuring a relatively slow demographic growth as well as very high population density. After the 1833 administrative reforms for the country devised by Javier de Burgos, Madrid was to become the capital of the new Liberal state.
The reforms enacted by Finance Minister Juan Álvarez Mendizábal in 1835–1836 led to the confiscation of ecclesiastical properties and the subsequent demolition of churches, convents and adjacent orchards in the city ; the widening of streets and squares ensued.
In 1854, amid economic and political crisis, following the pronunciamiento of group of high officers commanded by Leopoldo O'Donnell garrisoned in the nearby town of Vicálvaro in June 1854, the 7 July Manifesto of Manzanares, calling for popular rebellion, and the ousting of Luis José Sartorius from the premiership on 17 July, popular mutiny broke out in Madrid, asking for a real change of system, in what it was to be known as the Revolution of 1854. With the uprising in Madrid reaching its pinnacle on 17, 18 and 19 July, the insurrects, who erected barricades in the streets, were bluntly crushed by the new government.
1858 was a marked year for the city with the arrival of the waters from the Lozoya. The Canal de Isabel II was inaugurated on 24 June 1858. A ceremony took place soon after in Calle Ancha de San Bernardo to celebrate it, unveiling a 30-metre high water source in the middle of the street.
.
The plan for the Ensanche de Madrid by Carlos María de Castro was passed through a Royal Decree issued on 19 July 1860. The plan for urban expansion by Castro, a staunch Conservative, delivered a segregation of the well-off class, the middle class and the artisanate into different zones.
Student unrest took place in 1865 following the ministerial decree against the expression of ideas against the monarchy and the Church and the forced removal of the rector of the Universidad Central, unwilling to submit. In a crescendo of protests, the night of 10 April 2,000 protesters clashed against the Civil Guard. The unrest was crudely quashed, leaving 14 deaths, 74 wounded students and 114 arrests, becoming the precursor of more serious revolutionary attempts.

The ''Sexenio Democrático'' (1868–1874)

The Glorious Revolution resulting in the deposition of Queen Isabella II started with a pronunciamiento in the bay of Cádiz in September 1868. The success of the uprising in Madrid on 29 September prompted the French exile of the Queen, who was on holiday in San Sebastián and was unable to reach the capital by train. General Juan Prim, the leader of the liberal progressives, was received by the Madrilenian people at his arrival to the city in early October in a festive mood. He pronounced his famous speech of the "three nevers" directed against the Bourbons, and delivered a highly symbolical hug to General Serrano, leader of the revolutionary forces triumphant in the 28 September battle of Alcolea, in the Puerta del Sol.
, on 27 December 1870
On 27 December 1870 the car in which General Prim, the prime minister, was travelling, was shot by unknown hit-men in the Turk Street, nearby the Congress of Deputies. Prim, wounded in the attack, died three days later, with the elected monarch Amadeus, Duke of Aosta, yet to swear the constitution.
The creation of the Salamanca–Sol–Pozas tram service in Madrid in 1871 meant the introduction of the first collective system of transportation in the city, predating the omnibus.

Restoration (1874–1931)

The late 19th century saw the introduction of the electric power distribution. As by Law, the city council could not concede an industrial monopoly to any company, the city experienced a huge competition among the companies in the electricity sector. The absence of a monopoly led to an overlapping of distribution networks, to the point that in the centre of Madrid 5 different networks could travel through the same street.
By the end of the 19th century the city featured access to water, a central status in the rail network, a cheap workforce and access to financial capital. With the onset of the new century, the Ensanche Sur started to grow to become the main industrial area of the municipality along the first half of the 20th century.

In the early 20th century Madrid undertook a major urban intervention in its city centre with the creation of the Gran Vía, a monumental thoroughfare whose construction slit the city from top to bottom with the demolition of multitude of housing and small streets. Anticipated in earlier projects, and following the signature of the contract, the works formally started in April 1910 with a ceremony led by King Alfonso XIII.
Also with the turn of the century, Madrid had become the cultural capital of Spain as centre of top knowledge institutions, also concentrating the most publishing houses and big daily newspapers, amounting for the bulk of the intellectual production in the country.
In 1919 the Madrid Metro inaugurated its first service, which went from Sol to the Cuatro Caminos area.
In the 1919–1920 biennium Madrid witnessed the biggest wave of protests seen in the city up to that date, being the centre of innumerable strikes; despite being still surpassed by Barcelona's, the industrial city par excellence in that time, this cycle decisively set the foundations for the social unrest that took place in the 1930s in the city.
The situation the Monarchy had left Madrid in 1931 was catastrophic, with tens of thousands of kids receiving no education and a huge rate of unemployment.

Second Republic

After the proclamation of the Second Republic on 14 April 1931 the citizens of Madrid understood the free access to the Casa de Campo, was a consequence of the Fall of the Monarchy, and informally occupied the area on 15 April. After the signing of a decree on 20 April which granted the area to the Madrilenian citizens in order to become a "park for recreation and instruction", the transfer was formally sealed on 6 May when Minister Indalecio Prieto formally delivered the Casa de Campo to the Mayor Pedro Rico. The Spanish Constitution of 1931 was the first legislating on the state capital, setting it explicitly in Madrid.
During the 1930s, Madrid enjoyed "great vitality"; it was demographically young, but also young in the sense of its relation with the modernity. During this time the prolongation of the Paseo de la Castellana towards the North was projected. The proclamation of the Republic slowed down the building of new housing. The tertiary sector gave thrust to the economy. Illiteracy rates were down to below 20 %, and the city's cultural life grew notably during the so-called Silver Age of Spanish Culture; the sales of newspaper also increased. Anti-clericalism and Catholicism lived side by side in Madrid; the burning of convents initiated after riots in the city in May 1931 worsened the political environment. The 1934 insurrection largely failed in Madrid.
In order to deal with the unemployment the new Republican city council hired many jobless people as gardeners and street cleaners.
Prieto, who sought to turn the city into the "Great Madrid", capital of the Republic, charged Secundino Zuazo with the project for the opening of a south–north axis in the city through the northward enlargement of the Paseo de la Castellana and the construction of the Nuevos Ministerios administrative complex in the area. Works on the Ciudad Universitaria, already started during the monarchy in 1929, also resumed.

Civil War (1936–1939)

;Botched coup
The military uprising of July 1936 was defeated in Madrid by a combination of loyal forces and workers' militias. On 20 July armed workers and loyal troops stormed the single focus of resistance, the Cuartel de La Montaña, defended by a contingent of 2,000 rebel soldiers accompanied by 500 falangists under the command of General Fanjul, killing over one hundred of rebels after their surrender. Aside from the Cuartel de la Montaña episode, the wider scheme for the coup in the capital largely failed both due to disastrous rebel planning and due to the Government delivering weapons to the people wanting to defend the Republic, with the city becoming a symbol of popular resistance, "the people in arms".
;Siege
After the quelling of the coup d'état, from 1936–1939, Madrid was held by forces loyal to the Spanish Republic. Following the seemingly unstopable advance towards Madrid of rebel land troops, the first air bombings on Madrid also started. Immediately after the bombing of the nearing airports of Getafe and Cuatro Vientos, Madrid proper was bombed for the first time in the night of the 27–28 August 1936 by a Luftwaffe's Junkers Ju 52 that threw several bombs on the Ministry of War and the Station of the North. Madrid "was to become the first big european city to be bombed by aviation".
Rebel General Francisco Franco, recently given the supreme military command over his faction, took a detour in late September to "liberate" the besieged Alcázar de Toledo. Meanwhile, this operation gave time to the republicans in Madrid to build defenses and start receiving some foreign support.
The Summer and Autumn of 1936 saw the Republican Madrid witness of heavy-hand repression by Communist and Socialist groups, symbolised by the murder of prisoners in checas and sacas directed mostly against military personnel and leading politicians linked to the rebels, which, culminated by the horrific Paracuellos massacres in the context of a simultaneous major rebel offensive against the city, were halted by early December.
Madrid, besieged from October 1936, saw a major offensive in its western suburbs in November of that year.
;Collapse
In the last weeks of the war the collapse of the republic was speeded by Colonel Segismundo Casado, who, endorsed by some political figures such as Anarchist Cipriano Mera and Julián Besteiro, a PSOE leader who had held talks with the Falangist fifth column in the city, threw a military coup against the legitimate government under the pretext of excessive communist preponderance, propelling a mini-civil war in Madrid that, won by the casadistas, left roughly 2,000 casualties between 5–10 March 1939.
The city fell to the nationalists on 28 March 1939.

Francoist dictatorship (1939–1975)

Following the onset of the Francoist dictatorship in the city, the absence of personal and associative freedoms and the heavy-hand repression of people linked to a republican past greatly deprived the city from social mobilization, trade unionism and intellectual life. This added to a climate of general shortage, with ration coupons rampant and a lingering autarchic economy lasting until the mid 1950s.
Cuartel General del Ejército del Aire was among the few successes of the largely failed attempt to model the image of an "Imperial Madrid" by Falangism.
With the country ruined after the war, the Falange command had nonetheless high plans for the city and professionals sympathetic to the regime dreamed about the notion of building a body for the "Spanish Greatness" placing a great emphasis in Madrid, what they thought to be the imperial capital of the New State. In this sense, urban planners sought to highlight and symbolically put in value the façade the city offered to the Manzanares River, the "Imperial Cornice", bringing projects to accompany the Royal Palace such as the finishing of the unfinished cathedral, a never built "house of the Party" and many others. Nonetheless these delusions of grandeur caught up with reality and the scarcity during the Post-War and most of the projects ended up either filed, unfinished or mutilated, with the single clear success being the Gutiérrez Soto's Cuartel del Ejército del Aire.
During the dictatorship, especially after the sixties, the south of Madrid became very industrialized and experienced massive migrations from rural environments into the city. Madrid's south-eastern periphery became an extensive slum settlement, which was the base for an active cultural and political life.
In the 1948–1954 period the municipality greatly increased in size through the annexation of 13 surrounding municipalities, as its total area went up from 68,42 km2 to 607,09 km2. The annexed municipalities were Chamartín de la Rosa, Carabanchel Alto, Carabanchel Bajo, Canillas, Canillejas, Hortaleza, Barajas, Vallecas, El Pardo, Vicálvaro, Fuencarral Aravaca and Villaverde.
The population of the city peaked in 1975 at inhabitants.

Contemporary Madrid

Benefiting from prosperity in the 1980s, Spain's capital city has consolidated its position as the leading economic, cultural, industrial, educational and technological center of the Iberian peninsula. The relative decline in population since 1975 reverted in the 1990s, with the city recovering a population of roughly 3 million inhabitants by the end of the 20th century.
Since the late 1970s and through the 1980s Madrid became the center of the cultural movement known as la Movida. Conversely, just like in the rest of the country, an heroin crisis took a toll in the poor neighborhoods of Madrid in the 1980s.
During the mandate as Mayor of José María Álvarez del Manzano construction of traffic tunnels below the city proliferated.
On 11 March 2004, three days before Spain's general elections and exactly 2 years and 6 months after the September 11 attacks in the US, Madrid was hit by a terrorist attack when Islamic terrorists belonging to an al-Qaeda-inspired terrorist cell placed a series of bombs on several trains during the morning rush hour, killing 191 people and injuring 1,800.
The administrations that followed Álvarez del Manzano's, also conservative, led by Alberto Ruiz-Gallardón and Ana Botella, launched three unsuccessful bids for the 2012, 2016 and 2020 Summer Olympics. Madrid was a centre of the anti-austerity protests that erupted in Spain in 2011. As consequence of the spillover of the 2008 financial and mortgage crisis, Madrid has been affected by the increasing number of second-hand homes held by banks and house evictions. The mandate of left-wing Mayor Manuela Carmena delivered the renaturalization of the course of the Manzanares across the city.
Since the late 2010s, the challenges the city faces include the increasingly unaffordable rental prices and the profusion of betting shops in working-class areas, equalled to an "epidemics" among the young people.

Population