Malik-Shah I
Hassan ibn Hibat Allah Al-Hutayti promised to surrender the city to Tutush but then refused and wrote to Sultan Malik-Shah I offering to surrender the city to him, Tutush attacked and occupied the city except for the citadel in May 1086, he stayed until October and left for Damascus due to the advance of Malik-Shah armies, the Sultan himself arrived in December 1086.