 On the death of Ibn Hud in 1238, Seville returned to owe tribute to the Almohad Empire and paid obedience to the Caliph Arraxid.After the death of Arraxid in 1242, his brother, Ali ben Idris Asaid Almotadidbila, was proclaimed caliph.A year later, the governor of Ceuta withdrew his obedience to the Moroccan caliph and recognized the suzerainty of the Sultanate of Tunis.