 Alfonso VI took advantage of this request to besiege Toledo, which finally fell on 25 May 1085.After losing his throne, Al-Qádir was sent by Alfonso VI as king of the Taifa of Valencia under the protection of Álvar Fáñez.To facilitate this operation and to recover payment of the "parias" owed by the city, which had failed to pay him since the previous year, Alfonso VI besieged Zaragoza in the spring of 1086.