Dirham under his rule
|3rd Emir of Córdoba|
|Reign||12 June 796– 21 May 822|
|Successor||Abd ar-Rahman II|
|Died||May 21, 822 (aged 50–51)|
|Issue||Abd ar-Rahman II|
Al-Hakam was the second son of his father, his older brother having died at an early age. When he came to power, he was challenged by his uncles Sulayman and Abdallah, sons of his grandfather Abd ar-Rahman I. Abdallah took his two sons Ubayd Allah and Abd al-Malik to the court of Charlemagne in Aix-la-Chapelle to negotiate for aid. In the meantime Sulayman attacked Cordoba, but was defeated and driven back to Mérida where he was captured and executed. Abdallah was pardoned, but was forced to stay in Valencia.
Al-Hakam spent much of his reign suppressing rebellions in Toledo, Saragossa and Mérida. The uprisings twice reached Cordoba. An attempt was made to dethrone Al-Hakam and replace him with his cousin, Mohammed ibn al-Kasim, but the plot was discovered. On 16 November 806, 72 nobles and their attendants (accounts talk of 5,000) were massacred at a banquet, crucified and displayed along the banks of the river Guadalquivir. Such displays of cruelty were not unusual during this period, with the heads of rebel leaders or Christian foes killed in expeditions to the north being put on show at the gates of Cordoba.
Following the rebellion in Cordoba, Al-Hakam established a personal bodyguard, the Al-Haras, led by the Visigothic leader of the Christians in Cordoba, the Comes (Count) Rabi, son of Theodulf, who also served as the Emir's tax collector. Rabi was later removed and executed by crucifixion for corruption.
In 818 he crushed a rebellion led by clerics in the suburb of al-Ribad on the south bank of the Guadalquivir river. Some 300 notables were captured and crucified, while the rest of the inhabitants were exiled. Some moved to Alexandria in Egypt, some to Fez and Crete. Others joined the Levantine pirates.
Al-Hakam I died in 822 after having ruled for 26 years.
Al Hakam fathered five children with his wife Halawah:
- Abd ar-Rahman II, Umayyad Emir of Córdoba 822–852
- al-Walid bin al-Hakam. He led an army to attack Galicia in 838.
Al-Hakam had a concubine named Ajab. She established a foundation for lepers in the suburbs of Cordoba. The leper colony was funded by the proceeds of the Munyat 'Ajab, an estate built for or named after Ajab. Ajab was the mother of:
- Abu Abd Al-Malik Marwan
Another concubine was named Mut'a. She established a cemetery which was still in existence in the 10th century.
- Nagendra Kr Singh, International encyclopaedia of Islamic dynasties, Anmol Publications PVT. LTD., 2002
- Collins, Roger (1983). Early Medieval Spain. New York: St. Martin's Press. pp. 188–189. ISBN 0-312-22464-8.
- Baxter Wolf, Kenneth (8 May 2014). Christian Martyrs in Muslim Spain. Cambridge University Press. pp. 14–15. ISBN 1107634814. Retrieved 30 December 2014.
- Fagnan, E. (trans. & ed.) (1893) Histoire des Almohades d´Abd el-Wahid Merrakechi (Algiers) p. 15.
-  Moorish Spain page at Medieval Lands
- Barrau-Dihigo, L. (1989) Historia política del reino Asturiano (718-910), p. 138.
- Caroline Goodson, Anne E. Lester, Carol Symes, Cities, texts, and social networks, 400-1500: experiences and perceptions of medieval urban space, Ashgate Publishing, Ltd., 2010
- D. Fairchild Ruggles, Gardens, landscape, and vision in the palaces of Islamic Spain, Penn State Press, 2003
Cadet branch of the Banu Quraish
| Emir of Córdoba
Abd ar-Rahman II