On the death of Ibn Hud in 1238, Seville returned to owe tribute to the Almohad Empire and paid obedience to the Caliph Arraxid.
Abu Zakariya Yahya, Sultan of Tunis, accepted that vassalage and sent to Seville a governor who won the antipathies of the Sevillians, who expelled him in 1245.
Bel Alchad, fearful of the reaction of the Tunisians and the advance of Christian troops, decided to sign an alliance with Ferdinand III for a period of one year.
[1] This violent act led to the end of the truce with Fernando, who, free of his commitment to Bel Alchad, directed his attention to Seville and began with preparations to attack the city.
He fled to Ceuta in one of the ships offered by Fernando for the Moors who, having to leave Seville, decided to march to Africa.