[2] Yusuf ibn Tashfin, the leader of the Almoravids, ordered its recapture[5] and gave the command of a new expedition to capture it to his nephew Abu 'Abdullah Muhammad, because Muhammad ibn Aisa did not have a permanent army and he had to mobilize the troops in Ceuta, send them across the Strait of Gibraltar and reinforce the garrisons of Andalusia before marching towards Valencia.
[3] The Almoravid contingents disembarked between August 16 and 18, and in Granada they were joined by part of the garrison and the army of the extinct Zirid Taifa of Granada that had been integrated into the Almoravid army, and later troops from the Taifas of Lérida, Tortosa, Alpuente and Albarracín.
[3] Rodrigo Díaz de Vivar decided to take advantage of the lack of spirit without waiting for the help of Alfonso VI of León and went out at night commanding a group of cavalry.
[3] On the morning of October 25, 1094, he attacked the Muslim soldiers, who were not on guard and the alarm spread through the camp, amid shouts and commotion.
[7] The victory strengthened El Cid, who established the Lordship of Valencia and delayed the Almoravid expansion.