Hisham II or Abu'l-Walid Hisham II al-Mu'ayyad bi-llah (, Abū'l-Walīd Hishām al-Muʾayyad bi-ʾllāh) (son of Al-Hakam II and Subh of Cordoba) was the third Umayyad Caliph of Spain, in Al-Andalus from 976 to 1009, and 1010–13. Reign In 976, at the age of 11, Hisham II succeeded his father Al-Hakam II as Caliph of Cordoba. Hisham II was a minor at the time of his accession and therefore was unfit to rule. In order to benefit the Caliphate, his mother Subh was aided by first minister Jafar al-Mushafi to act as regents with al-Mansur ibn Abi Aamir (better known as "Almanzor") as her steward. In 978 Almanzor manipulated his way into the position of royal chamberlain. In an attempt to position himself as a prospective ruler of the Caliphate, Almanzor and General Ghalib al-Siklabi sabotaged the brother of Al-Hakam II who was set to succeed his brother and become the next Caliph of Cordoba. Still too young to rule, Hisham II handed the reins of power over to Almanzor in 981, who became the de facto leader of the Caliphate until his death in 1002. Al-Mansur ibn Abi Amir perpetuated his position as the omnipotent ruler in charge of the empire while he exiled Hisham II and essentially kept him prisoner for most of his reign as the third Caliph of Cordoba. With his countless successful campaigns against Christian powers in the Spanish North such as Barcelona in 985, León in 988, as well as a major strike on the church of St. James in the Galician city of Santiago de Compostela in 998, Almanzor is known for bringing the Caliphate of Córdoba to its apex of power in Islamic Iberian history. In 1002, after the death of his father (Almanzor), Abd al-Malik (1002–1008) became the ruler of the Caliphate and led successful campaigns against Navarre and Barcelona. In 1008 Abd ur-Rahman Sanjul (1008–1009) is said to have poisoned his brother (Abd al-Malik al-Muzaffar) which led to his death in October 1008. In 1009, while Abd al-Rahman Sanchuelo was waging war against Alfonso V in León, Muhammad II al-Mahdi usurped the throne from Hisham II then held him hostage in Cordoba. In November of the same year, just months after initiating his control as the ruler of the Caliphate, Muhammad II al-Mahdi was overthrown by a primarily Berber army (that he had previously commanded, but by which he was later