The siege of Granada in 1018 was an attempt by the Umayyad pretender Abd al-Rahman IV and his followers to conquer Granada from Zawi ibn Ziri.Rulers and Realms in Medieval Iberia, 711-1492. Timothy M. Flood. McFarland.
Context Abd al-Rahman IV had been proclaimed caliph on April 29, 1018. In order to deter an attack on Córdoba, a siege on Granada, where Zawi ibn Ziri had taken control was decided.
Battle Abd al-Rahman IV and the commanders Khayran and Al-Mundhir ibn Yahya al-Tujibi were at the head of 4,000 men. Zawi ibn Ziri had a contingent of 900 men, despite being greatly outnumbered he was able to defeat the army of Abd al-Rahman IV with a counterattack that scattered the enemy forces and caused all of the commanders to flee.Infidel Kings and Unholy Warriors: Faith, Power, and Violence in the Age of Crusade and Jihad. Brian A. Catlos., Straus and GirouxMuslim Spain and Portugal: A Political History of al-Andalus. Hugh Kennedy. Routledge.From the Arab Conquest to the Reconquest: The Splendour and Fragility of Al-Andalus. Pierre Guichard. Junta de Andalucia, Consejeria de Cultura.
Consequences The counter-attack from Granada sent all three leaders in different directions. The Umayyad pretender Abd al-Rahman IV was later caught at the river Guadix and assassinated.
References