 Earlier, in 1079, the king of Badajoz, al-Mutawakkil, had appealed to Yusuf for help against Alfonso.After the fall of Toledo to Alfonso VI in 1085, al-Mutamid appealed again to Yusuf.This time, financed by the taifa kings of Iberia, Yusuf crossed to al-Andalus, taking direct personal control of Algeciras in 1086.