يوسف بن تاشفين
The battle started on Friday at dawn with an attack from Castile. Yusuf ibn Tashfin divided his army into three divisions. The first division was led by Abbad III al-Mu'tamid, the second division was led by Yusuf ibn Tashfin, and the third division consisted of black African warriors with Talwars and long javelins. Abbad III al-Mu'tamid and his division battled with Alfonso VI alone till the afternoon, then Yusuf ibn Tashfin and his division joined the battle and encircled Alfonso VI and his troops. Alfonso's troops panicked and started to lose ground, then Yusuf ordered the third division of his army to attack and finish the battle.