Bakjur was a Circassian military slave (mamluk or ghulam) who served the Hamdanids of Aleppo and later the Fatimids of Egypt. He seized control of Aleppo in 975 and governed it until 977, when the rightful Hamdanid ruler, Sa'd al-Dawla, regained it. Given the governorship of Homs, in 983 he went over to the Fatimids and launched an attack on Aleppo, which was defeated through the intervention of Byzantine troops.