the castilians mustered 8,000 knights and 12,000 infantry. the portuguese brought 1,000 knights and tarifa kept a garrison of 1,000 men, who took part in the battle. alfonso sent 3,000 castilian knights to help the 1,000 portuguese knights attack yusuf's 7,000 granadan knights on the left. the castilian infantry consisted of municipal militias, stationed in the middle, and soldiers from asturias and the basque territories, who were armed and equipped with lances, crossbows, helmets and shields and were located next to afonso iv's knights.