After the capture of Ksar es-Seghir, the victory animated Afonso to prepare for another expedition.
[3] Afonso learned of the defeat at Tangiers, which filled him with dismay, and he resolved to return home.
However, four Moroccans with treacherous characteristics told Afonso that if he made a raid on a neighboring mountain in Ceuta, he would achieve considerable spoils.
Afonso took their word and, with a force of 800 cavalry and a small number of infantry, raided the place.
Most of his knights, including Duarte, were killed, and the king barely escaped from this disaster.