 By the late 11th century, Harput had eclipsed Arsamosata to become the main settlement in the region.Around 1085, a Turkish warlord named Çubuk conquered Harput and was confirmed as its ruler by the Seljuk Sultan Malik-Shah I.The Great Mosque of Harput was built opposite the citadel by either Çubuk or his son (attested as the ruler here in 1107).