 Relations between an @-@ Nasir Yusuf and the Bahri Mamluks grew tense after the former refused to invade Egypt . In October 1257 , Baibars and his fellow Mamluks left Damascus or were expelled from the city and together they moved south to Jerusalem . When the governor Kutuk refused to aid them against an @-@ Nasir Yusuf , Baibars deposed him and had al @-@ Mugith Umar , the emir of Karak , pronounced in the khutba at the al @-@ Aqsa Mosque ; over the years , al @-@ Mugith Umar had allowed the political dissidents of Cairo and Damascus , who sought protection from either the Mamluk and Ayyubid authorities , a safe haven within his territory . 
