 The first Artukid ruler of Harput was Balak, who was related to the Artukid rulers of Mardin and Hisn Kayfa but not directly part of either ruling family.Balak died young in 1124 and the Artukids of Hisn Kayfa took over.Later, Imad ad-Din Abu Bakr, an Artukid prince who had previously attempted to usurp the throne of Hisn Kayfa, gained control of Harput.