 While the Mamluks patronized the Sunni "ulama" through appointments to government office, they patronized the Sufis by funding "zawiyas" (Sufi lodges).On the other end of the spectrum of Sunni religious expression were the teachings of the Hanbali scholar Ibn Taymiyyah, which emphasized stringent moral rigor based on literal interpretations of the Qur'an and the Sunnah, and a deep hostility to the aspects of mysticism and popular religious innovations promoted by the various Sufi orders.While Ibn Taymiyyah was not a typical representative of Sunni orthodoxy in the sultanate, he was the most prominent Muslim scholar of the Mamluk era and was arrested numerous times by the Mamluk government for his religious teachings, which are still influential in the modern-day Muslim world.