تتش بن ألب أرسلان
In 1076, Damascus was conquered by the Turkman warlord Atsiz bin Uvak, who established himself as the ruler of the city and began the construction of the citadel. He then tried to invade the Fatimid Caliphate in Egypt but was defeated in 1077. The Fatimids subsequently built on their victory over Atsiz and besieged Damascus in 1077 and again in 1078, but both attempts to take the city were unsuccessful. The siege of 1078 was eventually lifted by Tutush I, brother of the Seljuq sultan Malik Shah I, to whom Atsiz had appealed for help. After the Fatimid besiegers had left, Tutush I took over the city and, distrusting Atsiz, had him assassinated in 1078. The construction of the citadel was finished under Tutush I.