On 25 January 1199, al-Nasir’s father Abu Yusuf Yaqub al-Mansur died; al-Nasir was proclaimed the new caliph that very day. Al-Nasir inherited from his father an empire that was showing signs of instability. Because of his father’s victories against the Christians in the Iberian Peninsula (Al-Andalus), he was temporarily relieved from serious threats on that front and able to concentrate on combating and defeating Banu Ghaniya attempts to seize Ifriqiya (Tunisia). Needing, after this, to deal with problems elsewhere in the empire, he appointed Abu Mohammed ibn Abi Hafs as governor of Ifriqiya, so unwittingly inaugurating the rule of the Hafsid dynasty there, which lasted until 1574.