The primitive nucleus of Madrid, a walled military outpost in the left bank of the Manzanares, dates back to the second half of the 9th century, during the rule of the Emirate of Córdoba.
The primitive urban nucleus of Madrid (Majriṭ) was founded in the late 9th century (from 852 to 886) as a citadel erected on behalf of Muhammad I, the Cordobese emir, on the relatively steep left bank of the Manzanares.
[1] Similarly to other fortresses north of the Tagus, Madrid made it difficult to muster reinforcements from the Asturian kingdom to the unruly inhabitants of Toledo, prone to rebellion against the Umayyad rule.
[13] By the end of the Middle Ages, the best-positioned members of the mudéjar community were the alarifes ('master builders'), who were tasked with public works (including the management of the viajes de agua), and had a leading role in the urbanism of the town in the 15th century.
[19] 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.
[20] 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 town, including a 8-month long uninterrupted spell.
[22] Facing the 1492 decree of expulsion, few local Jews opted for leaving, with most preferring to convert instead, remaining as a non-fully assimilated converso community, subject to rejection by Old Christians.
[26] 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.
[29] The population plummeted (reportedly reduced to a half) during the 5-year period the capital was set in Valladolid (1601–1606), with estimations of roughly 50–60,000 people leaving the city.
[30] The move (often framed in modern usage as a case of real estate speculation) was promoted by the valido of Philip III, Duke of Lerma, who had previously acquired many properties in Valladolid.
[34] 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.
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.
[42] In this context, following the enforcing of a ban of the traditional Spanish dress (long cape and a wide-brimmed hat) in order to facilitate the identification of criminal suspects,[42] massive riots erupted in March 1766 in Madrid, the so-called "Mutiny of Esquilache".
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.
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.
At 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.
[53] 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 so-called "Vicalvarada"), the 7 July Manifesto of Manzanares, calling for popular rebellion,[54] and the ousting of Luis José Sartorius from the premiership on 17 July,[55] popular mutiny broke out in Madrid, asking for a real change of system,[56] in what it was to be known as the Revolution of 1854.
[64] 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.
[66] 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.
[67] 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,[68] 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.
[69] 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.
[96] 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.
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.
[106] A transitional planning intended to temporarily replace the shanty towns were the poblados de absorción, introduced since the mid-1950s in locations such as Canillas, San Fermín, Caño Roto, Villaverde, Pan Bendito [es], Zofío and Fuencarral, aiming to work as a sort of "high-end" shacks (with the destinataries participating in the construction of their own housing) but under the aegis of a wider coordinated urban planning.
[107] Together with the likes of Cairo, Santiago de Chile, Rome, Buenos Aires or Lisbon, Francoist Madrid became an important transnational hub of the global Neofascist network that facilitated the survival and resumption of (neo)fascist activities after 1945.
[110] 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 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.
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.