sentences:  In November, Ibn Masal abandoned the city with most of the remaining treasure, forcing Aftakin and Nizar to surrender against a writ of safety ("amān").Both were taken back to Cairo, where Nizar was immured alive and Aftakin was executed.Despite problems with succession arrangements before, the events surrounding al-Musta'li's accession was the first time that rival members of the Fatimid dynasty had actually fought over it.