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.
[2] 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.
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 abandoned) which was led by Sulayman ibn al-Hakam in the battle of Alcolea.
Hisham II was now under the influence of al-Wahdid, who was nevertheless unable to gain control of the Berber troops – these still supported Sulayman, and the civil war continued.
It was not until 1060 that the Sevillan ruler Abbad II al-Mu'tadid acknowledged that this supposed Hisham had died in 1044 without a successor, but the "convenient fiction" of his survival lasted until at least 1082–83, when his name still appears in the coins of the Taifa of Zaragoza.