 The Bahriyyah subsequently raided areas around Syria, threatening an-Nasir Yusuf's power in Damascus.After a first attempt to defeat the Bahriyyah near Gaza failed, an-Nasir Yusuf launched a second expedition against them with al-Mansur Muhammad II of Hama, resulting in a Bahriyyah defeat at Jericho.An-Nasir Yusuf proceeded to besiege al-Mughith and the Bahriyyah at al-Karak, but the growing threat of a Mongol invasion of Syria ultimately led to a reconciliation between an-Nasir Yusuf and al-Mughith, and Baybars's defection to the former.