Though it convinced the Kutama of Kabylie, the Fatimids' Ismaili doctrine remained unpopular in most of North Africa, and the Fatimids themselves abandoned Algeria for Egypt as soon as they could, leaving North Africa to a dynasty only nominally subject to them, the Zirids. With the political threat of the Abbasid Caliphate gone, these soon reverted to Sunni Islam - specifically, the Maliki branch, whose popularity had spread widely in the Maghreb. The Fatimids took their revenge by sending the Bedouin Banu Hilal to wreak havoc on the region, but were incapable of controlling it; Shiism rapidly dwindled, and became virtually non-existent in the area.