Bengali, was a native of Gaur in western Bengal and became the Sultanate's court scholar during Ilyas Shah's reign. Alongside Persian and Arabic, the sovereign Sunni Muslim nation-state also enabled the language of the Bengali people to gain patronage and support, contrary to previous states which exclusively favoured Sanskrit, Pali and Persian. The converted Sultan Jalaluddin Muhammad Shah funded the construction of Islamic seminaries as far as Mecca and Madina in the Middle East. The people of Arabia came to know these institutions as al-Madaris al-Bangaliyyah (Bengali madrasas). The Bengal Sultanate was a melting pot of Muslim political, mercantile and military elites. During the 14th century, Islamic kingdoms stretched from Muslim Spain in the west to Bengal in the east. Moroccan traveler Ibn Battuta's diary is one of the best known accounts of the prelude to the Bengal Sultanate. Ibn Battuta visited Bengal during the reign of Sultan Fakhruddin Mubarak Shah, a rebel governor of the Delhi Sultanate who established a city state in Sonargaon. At the time, Bengal was divided into the three city states of Sonargaon, Satgaon and Lakhnauti. In 1352, the three city states were united by Ilyas Shah into a single, unitary, independent Bengal Sultanate. The creation of the Bengal Sultanate sparked several Bengal-Delhi Wars, which resulted in Delhi recognizing Bengal's independence. The Ilyas Shahi dynasty consolidated Bengali statehood, the economy and diplomatic relations. A network of Mint Towns - provincial capitals which produced the Sultan's sovereign currency called the tanka - was established across Bengal. The Bengali state followed the Persian model of statecraft. Muslims from other parts of the world were imported for military, bureaucratic and household services. These immigrants included Turks from upper India who were originally recruited in Central Asia; as well as black Abyssinians imported via East Africa into the Bengali port of Chittagong. A highly commercialized and monetized economy evolved. Islamic architecture was introduced on a major scale. A huge mosque called the Adina Mosque was built following the design of the Great Mosque of Damascus. A distinct Bengali Muslim architectural style developed, with terracotta and stone buildings showing a fusion of Persian and Bengali elements. Mosques included two categories, including multi-domed rectangular structures and single-domed square structures. A distinct style of Bengali mihrabs, minbars, terracotta arabesque, and do-chala roofs developed; this influence also spread to other regions. The Bengal Sultanate was ruled by five dynastic periods, with each period