Al-Kadir

al-Kadir was the Emir of Valencia in Spain during the Reconquista.

Biography
al-Kadir was the emir of Valencia on the eastern coast of Spain under the Almoravids, and he was a Muslim ruler. In 1074, he was captured by Rodrigo Diaz de Vivar alongside emir al-Mu'tamin of Zaragoza, and the two emirs were brought back to Vivar as captives. Diaz ignored Count Ordonez's orders that the prisoners be brought to Burgos to be hanged, and he released them in exchange for guarantees that they would not go to war with King Sancho II of Castile again; the Moors called Vivar "El Cid" ("the Boss") due to his skill in warfare. In 1099, he betrayed El Cid and besieged Cid's allied emirs in Valencia, forcing El Cid to fight al-Kadir in battle. al-Kadir was defeated, and his siege of the city was lifted.