On 25 August 971, the allies captured Damascus, with al-As'am proclaiming the suzerainty of the Abbasid caliph over Syria and having the name of the Fatimid caliph, al-Mu'izz li-Din Allah, ritually cursed in the mosques.