 It was still controlled by the Ismailis, albeit as loyal subjects to the sultanate, during the intermittent reign of Sultan an-Nasir Muhammad (1294-1340).When North African scholar Ibn Battuta visited al-Qadmus in 1355, during Mamluk rule, noting that it was part of the "niyabah" ("governorship") of Masyaf, a dependency of Tripoli.Later this governorship was detached from Tripoli and transferred to Damascus province when it was visited by al-Qalqashandi in 1412.