With the beachhead established and the Castilian territories reconnoitred, Abu Yusuf sent more troops across, including his own household troops, ministers, officials and North African clerics. Abu Yusuf himself crossed to Spain on 17 August 1275. He then met with Muhammad and the leader of the Banu Ashqilula, Abu Muhammad, who joined the Sultan with their armies. The Marinids treated the Nasrids and the Banu Ashqilula as equals, and Muhammad, offended at being seen as an equal to his rebellious subjects, left the army after three days, although his forces remained. In September 1275 this army won a major victory against Castile at the Battle of Ecija. Nuño González, now fighting for Castile, was killed. According to Marinid chronicles, the Banu Ashqilula contributed much to this victory and their leaders were present, while Granadan forces contributed little, with Muhammad himself staying in Granada.