The Beja were originally Christian. Despite the town's formal submission to the Mamluks in 1317, O. G. S. Crawford believed that the city remained a center of Christianity into the 13th century. Muslim immigrants such as the Banu Kanz gradually transformed this: ibn Battuta records that in 1332 there was a Muslim "sultan" of Suakin, al-Sharif Zaid ibn-Abi Numayy ibn-'Ajlan, who was the son of a Meccan sharif. Following the region's inheritance laws, he had inherited the local leadership from his Bejan maternal uncles.