	The principality was annexed to the Hammadid kingdom in 1128, before it recovered its independence in 1148. After a period of Hammadid rule and a brief interregnum during which the people of Tunis sought to elect a new leader, Khurasanid rule was restored when Abu Bakr ibn Ismail was smuggled over the city walls at night in a basket. Seven months later he was drowned by his nephew Abd Allah ibn Abd al-Aziz, who succeeded him.