The weakening of the Sultanate of Rûm following the Mongol invasion in 1242–43 allowed many beyliks and ghazis to set up their own principalities in Anatolia, weakening the Byzantine hold on Asia Minor.