The Taifa of Algeciras (Arabic: طائفة الجزيرة) was a medieval Muslim taifa kingdom in what is now southern Spain and Gibraltar, that existed from 1035 to 1058.
History
The taifa was created in 1013, in the wake of the disintegration of the caliphate of Córdoba which began after 1009. When Sulayman ibn al-Hakam took control of the caliphate, he gave Algeciras to the Hammudids, a dynasty who had helped him in gaining the power. The first king of Algeciras was al-Qasim al-Ma'mun, who later was also caliph.