Castles

The Alhambra: attacks and sieges

Written 22 November 2026.

In brief. The hill was fought over before the Alhambra stood on it: a small red castle there was caught up in a civil war in about 889, and the fortress that followed was a refuge for rebels in 1145 and 1167. While the Nasrids ruled, from 1238, no foreign army took the Alhambra. It was taken again and again by the Nasrids themselves: by a siege that ended in a settlement (1314), by a hundred men climbing the wall at night (1359), by cutting off the water (1430), by friends inside opening the gates (1432) and, by one account, by a seven-month siege in which Boabdil had Christian troops with him (1486 to 1487). In 1491 to 1492 Castile besieged the city of Granada for eight months and the Alhambra was handed over under a treaty, "without the Alhambra itself being attacked".1 The worst damage came from an army that was leaving: on 17 September 1812 French troops blew up towers on their way out. For the Nasrid sieges before the 1480s the only detailed accounts read are Wikipedia's; for the 1480s, 1492 and 1812 there are now other sources, several of them Spanish.

At a glance

WhenAttackerDefenderNumbersHow it was foughtResult
About 889Not named; the fighting was "between the Arabs and the Muladies"1Sawwar ben Hamdun, who took refuge in the castle2Not givenNot given. The castle was small and weak1Not given
1145 and 1167In 1167 the Almohads; in 1145 not named3Opponents of the Almoravids (1145) and of the Almohads (1167)3Not givenNot given1145 not given; 1167 taken3
1314Ismail, nephew of the sultanSultan NasrNot givenThe city opened its gates; the Alhambra was besieged; a settlement4,5Surrendered
1359 to 1362Plotters for Ismail II (1359); el Bermejo (1360); Muhammad V (1362)Muhammad V's guards; then Ismail II; then el Bermejo"one hundred men" in 13596Climbing the wall at night; then a coup inside; then no fight at all6,7Taken twice, then abandoned
1429 to March 1430Muhammad IXMuhammad VIIINot givenSiege for several months; the water supply cut8Surrendered
1432Muhammad IX's men under his nephew YusufYusuf IV"approximately one thousand men"9Siege; the gates opened from within9Taken
1482 to 1487Boabdil, his father Abu al-Hasan and his uncle al-Zagal, in turnEach otherNot givenMostly not given. By one account Boabdil, with "his own and Christian troops", besieged the Alhambra for seven months from 15 September 148610Changed hands several times; fell to Boabdil in 1487
April 1491 to 2 January 1492Ferdinand and IsabellaBoabdilCastilian army: "between 50,000 and 70,000" by old sources, or "10–12,000 men" by a modern estimate11Siege of the city for eight months; a treaty; no assault on the Alhambra;1,11 a detachment let in before dawn12Handed over (not attacked)
27 January 1810 to 17 September 1812French IV Corps under Sebastiani1,13Not givenNot givenOccupied as a fortified position and given new gun batteries; batteries and towers blown up on leaving1,14Occupied, then wrecked in part

About 889, 1145 and 1167: the fortress before the Alhambra

There was a castle on the hill long before there was a palace. Wikipedia's article on the Alhambra says "A fortress or citadel, probably dating from the Visigothic period, existed on the hill in the 9th century."1 It first appears in writing in a time of civil war, and it does not appear as a strong place. According to that article, "the red castle was quite small, and its walls were not capable of deterring an army intent on conquering".1

The man in it was Sawwar ben Hamdun. One account says that in 889 he "had to seek refuge in the Alcazaba" and had to repair it, because of the civil fighting of the time.2 The same article that calls the castle weak says the first mention of its name came in lines of verse tied to an arrow and shot over the ramparts, as recorded by Ibn Hayyan, who died in 1076.1 What happened to Sawwar and his castle after that, none of the pages read says.

In the 1000s the Zirid kings of Granada lived on the hill opposite, and the fortress here was one of two joined to their citadel.1 It was used twice more as a last refuge. "In 1145 the fortress on the Sabika hill was used as a refuge by forces opposing the Almoravids."3 Then "It was used this way again in 1167 by opponents of the Almohads."3 The second time it fell: "After capturing it, the Almohads undertook some repairs to the damaged fortress."3

The record

1314: Ismail besieges his uncle (surrendered)

The Alhambra of the Nasrid sultans was begun in 1238 by Ibn al-Ahmar, the first of them.1 By 1314 the fourth sultan, Nasr, was in trouble. He "was unpopular at court as he was suspected of being pro-Christian and accused of devoting so much time to astronomy that he neglected his duties as ruler".4

A first rebellion, led by his brother-in-law Abu Said Faraj, reached the capital, but Abu Said "lacked the necessary supplies for a protracted campaign", and Castile beat the rebels on 28 May 1312.4

Abu Said's son Ismail tried again, and this time the city chose for him. "As Ismail moved towards Granada, his army swelled and the capital's inhabitants opened the city gates for him."4 He came in by the Elvira Gate "and besieged Nasr, who remained in the Alhambra".4 Ismail made his own headquarters in the old castle of the Albayzín.5 Nasr sent to Castile for help again, "but Castilian help did not come in time".5

No assault is recorded. The two men "agreed to a settlement by which the former sultan abdicated and surrendered the Alhambra to his nephew".5 Nasr was allowed to go to Guadix and govern it.4

The record

1359 to 1362: over the wall at night (taken twice, then abandoned)

The Alhambra's walls were climbed once that we know of, and it was an inside job. In August 1359 the sultan was Muhammad V. His half-brother Ismail lived in a palace inside the Alhambra, and Ismail's mother Maryam had money and a plan.6,7 Her ally was a cousin of Ismail's father, Muhammad, known as el Bermejo.6

They picked the night of 23 August 1359.7 "Under cover of the night in the holy month of Ramadan, one hundred men scaled the Alhambra's walls and overwhelmed the guards."6 They did not have to climb a sound wall: they got in by "taking advantage of a gap that was left unrepaired".7 They killed the chief minister, Ridwan, and proclaimed Ismail.6 The sultan was saved by luck. "Muhammad V happened to be outside the Alhambra, and fled to the eastern city of Guadix after failing to retake the palace compound."6

Less than a year later el Bermejo turned on the man he had made sultan. Ismail II "was surrounded by el Bermejo's men and barricaded himself in a tower overlooking the capital, likely one of the towers in the Alcazaba of the Alhambra".6 He was "Forced to surrender", and was killed.6 El Bermejo ruled as Muhammad VI.6

Muhammad V came back with Castile's help and took the west of the kingdom.7 He never had to besiege his own palace. Muhammad VI "fled Granada on 13 April 1362", and "Muhammad V entered the Alhambra three days later and was recognised as Sultan."7 Peter of Castile killed Muhammad VI and sent his head to Granada, where it was hung for a time near the stretch of wall he had climbed in 1359.7

The record

1429 to 1432: thirst, and a gate opened from inside (surrendered, then taken)

In the 1400s the throne passed back and forth among rivals, and the Alhambra was besieged twice in three years by the same man.8,9

Muhammad IX had been sultan once already. In 1429 he came back from exile in Tunis with armed support, and Almería and other places went over to him.8 The sultan, Muhammad VIII, lost men to desertion. "He retreated to the Alhambra, where he withstood a siege for several months."8 Both sides asked Castile for help, and Castile waited.8 The end came when the besiegers found the weak point: "Ultimately, besieging forces cut the Alhambra’s water supply."8 "In March 1430, Muhammad VIII surrendered and was again confined in Salobreña".8 The next year he and his brother were put to death on Muhammad IX's orders.8

Castile then backed another claimant, Yusuf IV, who promised to be its vassal.9 Granada accepted him at the end of 1431 and Muhammad IX fled the Alhambra.9 "On December 31, 1431, Yusuf’s supporters entered Granada and seized the Alhambra."9 That was a walk-in, not an attack.

It lasted less than four months.9 Muhammad IX sent "a force of approximately one thousand men under his nephew Yusuf ibn Ahmad".9 "With covert support within Granada, they gained entry and besieged Yusuf IV in the Alhambra."9 A Castilian force "won a skirmish outside the city but withdrew".9 Muhammad IX himself came and "established himself in the old Zirid citadel while besieging the Alhambra".9 Then, in the words of the article, "Forces loyal to him opened the gates from within."9 Yusuf IV "attempted to hide within a concealed alcove in the Alhambra but was discovered after several days".9 "He was executed in mid-to-late April 1432."9

The record

1482 to 1487: Boabdil, his father and his uncle (changed hands several times)

The last civil war overlapped with the last foreign one. Castile took Alhama in February 1482, and the sultan Abu al-Hasan went out to fight.19 His son Muhammad, whom the Spanish called Boabdil, did not wait for him to come back. "Taking advantage of his father’s absence during the campaign at Loja, the prince seized control of Granada."19 The father "was unable to recover the capital and withdrew to Málaga".19

Boabdil was captured by the Christians at Lucena in 1483,20 and "the notables of Granada recalled" his father.19 Ferdinand then let Boabdil go, and said why in a letter of August 1483: "To put Granada in division and destroy it We have decided to free him".11

It worked. The uncle, al-Zagal, took the throne from his ailing brother, and in 1485 drove Boabdil out; in one telling "Boabdil was expelled from the Albayzín, his base of power",11 in another al-Zagal "came close to trapping his rebellious nephew at Almería" and then "took control of the city of Granada".10 Boabdil fled to the Christian camp and came back as Ferdinand's man.10

What followed is the one siege of the Alhambra in this war, and only one source read describes it. "On September 15, 1486, Boabdil led his own and Christian troops into the city of Granada, beginning a seven-month siege of the Alhambra, the emir’s palace."10 The same account says only that "this citadel fell".10 Wikipedia's pages fit around this without mentioning it: when al-Zagal marched to relieve Málaga in 1487 "he was forced to leave troops in the Alhambra to defend against Boabdil and his followers",11 and "Boabdil took over all of the city of Granada in 1487".11

The record

1491 to 1492: the siege of Granada (handed over, not attacked)

By the beginning of 1491 Granada was the only city in Spain still under Muslim rule.20 Boabdil had broken with Ferdinand and Isabella and had nobody to turn to. He asked Egypt and Fes for help and got none, and he held no coast for help to land on.11

"An eight-month siege of Granada began in April 1491."11 Ferdinand camped a league from the city and the monarchs built a town there, Santa Fe, so that Granada would understand that the only alternative to siege was surrender.12 They did not have to break anything. By the time the siege began "the city was overcrowded with refugees and facing starvation".22 Inside, "advisers schemed against each other", and at least one of Boabdil's chief advisers seems to have been working for Castile throughout.11

The treaty was "negotiated in secret over several months to prevent a riot among the city's populace".22 It was "signed on November 25, 1491, which granted two months to the city".11 The Alhambra changed hands in the dark, by arrangement. On 2 January 1492 a Christian detachment under Gutierre de Cárdenas "tomó posesión de la ciudad palatina de la Alhambra antes del amanecer" (took possession of the palace-city of the Alhambra before dawn), and then signalled to the monarchs "disparando tres cañonazos" (by firing three cannon shots).12 Wikipedia puts it more bluntly: "The besieging Christians sneaked troops into the Alhambra that day in case resistance materialized, which it did not."11

Then came the public surrender. Boabdil rode out "from the Gate of Seven Floors at the Alhambra"23 and gave Ferdinand the keys.12,23 According to tradition the flag of Castile was raised that day over the Torre de la Vela, the western tower of the Alcazaba.3 The Count of Tendilla became the first Spanish governor.1

The record

1810 to 1812: the French occupation (occupied, then wrecked in part)

For three centuries after 1492 the pages read record no attack on the Alhambra, and by the 1700s it was neglected: one account says "from the 18th century the Alhambra was abandoned".2 Then Napoleon's army came. The French IV Corps, led by Horace Sébastiani, "llegaron a Granada el 27 de enero de 1810" (reached Granada on 27 January 1810).13 "Between 1810 and 1812 Granada was occupied by Napoleon's army during the Peninsular War."1 None of the pages read says that the Alhambra resisted.

The French made it a fortress again. It became "el cuartel militar de referencia en Granada" (the main military barracks in Granada),13 and "Las tropas francesas reforzaron, por medio de modernas baterías artilleras, sus murallas y las alturas de su entorno cercano" (the French troops strengthened its walls and the heights close by with modern gun batteries).14 Guns were placed on the Silla del Moro, the Cerro del Sol, the Alixares and the Torres Bermejas.13 Sébastiani "himself resided in noted luxury" there.26 One account says "The Court of Myrtles became a projectiles depot", and that the paving of the Court of the Lions was pulled up to plant a garden.27 The Alcazaba was used as a prison.16,13

The harm that lasted was done on the way out. With the Spanish army advancing, the French left in a hurry.13 "Pero el día 17 de septiembre de 1812, volaron las novedosas baterías y en paralelo un gran número de antiguas torres nazaríes y de los edificios de su entorno" (but on 17 September 1812 they blew up the new batteries and, with them, a great number of old Nasrid towers and the buildings around them).14 Wikipedia says they "blew up eight towers before the remaining fuses were disabled by Spanish soldier José Garcia".1

García was a "cabo de inválidos",27 a corporal in the Spanish army's corps for men maimed in war.13 He is said to have put out the burning fuse "con su propio cuerpo" (with his own body).28 A plaque in the Square of the Cisterns says he saved the palaces and towers at the risk of his life.27,13 The page that quotes the plaque also calls his deed "casi una leyenda" (almost a legend).13

The body that runs the monument tells the story without that doubt. Its own page says the French arrived on "El 28 de enero de 1810" (28 January 1810), a day later than the date above, and put guns on the heights around the Alhambra to threaten the city "ante posibles levantamientos" (against possible risings).32 On 17 September 1812 the army left "tratando de hacer explosionar todo el recinto" (trying to blow up the whole enclosure), and "el brigadier del Regimiento de los Inválidos José García, mutilado en la batalla de Bailén, arriesgando su vida, logró detener la explosión en cadena neutralizando las mechas que quedaban activas" (the brigadier of the Regiment of Invalids José García, maimed at the battle of Bailén, at the risk of his life managed to stop the chain of explosions by putting out the fuses still burning).32 That makes a fourth description of the man: here a brigadier, elsewhere a soldier, an officer and a corporal. The page cites no document of the time.

The record

Damage that was not an attack

What held and what failed

TacticUsed against the AlhambraDid it work?
Siege with the city on the attacker's side1314; 1429 to 1430; 1432Yes, each time. It ended by settlement in 1314,5 by thirst in 14308 and by betrayal in 14329
Cutting the water supply1430Yes, after a siege of several months8
Climbing the wall by night1359Yes: a hundred men, an unrepaired gap, and friends inside6,7
Siege from inside the city with foreign troops1486 to 1487Yes, after seven months, by the one account read10
Besieging the whole city until it negotiated1312; 1491 to 1492No in 1312, when the besiegers ran short of supplies and were beaten off;4 yes in 149211
Assault on the walls by an armyNone recorded in the sources readNot tried, as far as these sources say
CannonNone recorded against the Alhambra. At Granada in 1491 one source says artillery threatened the walls and another that none was used10,12The defences were rebuilt after 1492 to face cannon that never came1,14
Demolition by mines from inside1812In part: eight towers, or about eleven, before the fuses were cut1,13

Every recorded fall of the Nasrid Alhambra needed the city, or someone inside, on the attacker's side. That summing-up is ours, not a source's.

Not yet established

About this entry

Each attack is told first as a short story and then set out as a record. The story adds nothing the record does not have: the narrator chooses the order and the emphasis, never the facts. Every statement has a numbered note that leads to its source. Anything that is our own reading is said to be ours. Where two sources disagree, the record gives both. "Not given" means none of the sources read says; it does not mean it is unknown to historians.

Sources

  1. Alhambra, Wikipedia. History and layout sections read in full, 2026-11-22.
  2. Historical introduction, AlhambraDeGranada.org. A private visitor-information website (Área25 IT), not the body that runs the monument. Read in full.
  3. Alcazaba of the Alhambra, Wikipedia. History section read in full; the rest searched for attacks and sieges.
  4. Nasr of Granada, Wikipedia. Opening and the rebellions of 1311 to 1314 read; the rest not read.
  5. Ismail I of Granada, Wikipedia. Opening and rise to power read; the rest not read.
  6. Ismail II of Granada, Wikipedia. Opening, reign and aftermath read in full.
  7. Muhammad VI of Granada, Wikipedia. The 1359 coup and his fall in 1362 read; the rest not read.
  8. Muhammad VIII of Granada, Wikipedia. Opening and 1429 to 1431 read; the rest not read.
  9. Yusuf IV of Granada, Wikipedia. Only December 1431 to April 1432 read.
  10. Boabdil, EBSCO Research Starters. A reference article by Joseph P. Byrne, published 2024. Read in full from 1481 to 1492. It numbers Boabdil Muhammad XI and al-Zagal, whom it spells al-Zaghall, Muhammad XIII.
  11. Granada War, Wikipedia. Read in full from the taking of Alhama in 1482 to the section on the strength of the armies.
  12. La Alhambra de los Reyes Católicos, Muy Interesante. A Spanish popular-history magazine; the article is by Tomás Ibáñez Palomo. In Spanish. The passages on 1490 to 1492 and on the first works read in full; the rest not read.
  13. Restos de una invasión: las tropas napoleónicas en la Alhambra, AlhambraDeGranada.org. The blog of the same private website as the Historical introduction above. In Spanish. No author or sources given. Read in full.
  14. El sistema defensivo, MOOC La Alhambra y la Granada Andalusí, Universidad de Granada. Course text for module 4.3, by Juan Antonio Vilar. In Spanish. A three-page PDF, read in full as extracted text; these quotations were checked by hand only.
  15. Alhambra, History.com. A television channel's history website. Only the 9th century, 1492 and 1812 read. It agrees that in 1812 towers "were blown up by the French".
  16. Alcazaba, AlhambraDeGranada.org. The same private website. Read in full.
  17. El Reino Nazarí, MOOC La Alhambra y la Granada Andalusí, Universidad de Granada. Course text for module 1.3, by Bárbara Boloix of the university's Department of Semitic Studies. In Spanish. A four-page PDF, read in full as extracted text, in which some words came out garbled; only passages that came out clean are quoted, and they were checked by hand only.
  18. Muhammad IX of Granada, Wikipedia. Only 1419 and 1429 to 1445 read.
  19. Abu'l-Hasan Ali of Granada, Wikipedia. Opening, 1464 and 1481 to 1485 read; the rest not read.
  20. Muhammad XI of Granada, Wikipedia (Boabdil). Read in full as far as his exile.
  21. Muhammad XII of Granada, Wikipedia (al-Zagal). Read in full from 1482 to the end. Its note explains why Wikipedia now numbers Boabdil as Muhammad XI and al-Zagal as Muhammad XII; some of its pages still call Boabdil Muhammad XII.
  22. Treaty of Granada (1491), Wikipedia. Opening, background and terms read; the rest not read.
  23. 'These are the keys of this paradise': how 700 years of Muslim rule in Spain came to an end, The Conversation. By Elizabeth Drayson, University of Cambridge. The passages on the surrender read in full.
  24. Gutierre de Cárdenas, The Objective. A Spanish online newspaper; the article is by Jaime Cervera, 4 January 2025. In Spanish. Only the paragraph on the Alhambra read.
  25. Justice Tower, AlhambraDeGranada.org. The same private website. Read in full. The inscription is quoted there in English only; the original wording was not seen.
  26. Horace Sébastiani, Wikipedia. Only the section on the Peninsular War read.
  27. When the Alhambra was in ruins, El Legado Andalusí. The magazine of the Fundación Pública Andaluza El legado andalusí, a public foundation in Andalusia. The passage on the French occupation read in full; the rest, on 19th-century travellers, searched but not read closely.
  28. El mutilado español que luchó en Bailén y salvó a la Alhambra de ser dinamitada por Napoleón, El Español. A Spanish national online newspaper; the article is by Rafael Balbás, 27 November 2023. In Spanish. Read in full. It cites no source for José García.
  29. Water Tower, AlhambraDeGranada.org. The same private website. Read in full; it is three sentences long.
  30. Hall of the Boat, AlhambraDeGranada.org. The same private website. Only the passage on the 1890 fire read.
  31. Muhammad III of Granada, Wikipedia. Only the passages on the 1309 coup and on his death read.
  32. La Alhambra durante la Invasión Napoleónica, Patronato de la Alhambra y Generalife. The public body that runs the monument. The page is in Spanish. The site refuses automatic readers; the page was opened in an ordinary browser on 2026-11-22 and its paragraphs on 1810 and 1812 read there.