sentences:  Only one of them, the Berber Muhammad ibn Masal al-Lukki, is said to have remained loyal to Nizar, because he had promised to appoint him vizier instead of al-Afdal.Indeed, when al-Mustansir died in December 1094, al-Afdal, who himself had only recently succeeded his own father, raised a much younger half-brother of Nizar, al-Musta'li to the throne and the imamate.Furthermore, Al-Musta'li, who had just married al-Afdal's sister, was completely dependent on al-Afdal for his accession.