Mamlūk and Ottoman influence
Although the Yemeni Rasūlids sometimes disputed with the Mamlūks the overlordship of the Holy Cities, the Mamlūks generally prevailed. Egyptians and Meccans attacked al-Mujāhid the Rasūlid on a pilgrimage in 1350, and he was held prisoner in Egypt though released later.