 The island was governed by a Fatimid emir for the following 20 years.In 937, the Berbers of Agrigento revolted again but after two resounding successes were decisively beaten at the gates of Palermo.An army was then sent by the new Fatimid caliph, al-Qa'im bi-Amr Allah, to besiege Agrigento twice until it fell on November 20, 940.