 Meanwhile , the Seljuks were advancing towards al @-@ Jazira , and the descendants of Qatada ibn Idris fought with their Ayyubid overlords over control of Mecca . The conflict between them was taken advantage of by the Rasulids of Yemen who attempted to end Ayyubid suzerainty in the Hejaz and bring the region under their control which they accomplished in 1238 when Nur al @-@ Din Umar captured Mecca . 
