Languages of the Ottoman Empire
The language of the court and government of the Ottoman Empire was Ottoman Turkish, but many other languages were in contemporary use in parts of the empire. Although the minorities of the Ottoman Empire were free to use their language amongst themselves, if they needed to communicate with the government they had to use Ottoman Turkish.
Islam in Uttar Pradesh
Later on, during the Mughal Empire, the development of Urdu was further strengthened and started to emerge as a new language. The official language of the Ghurids, Delhi Sultanate, the Mughal Empire, and their successor states, as well as the cultured language of poetry and literature, was Persian, while the language of religion was Arabic. Most of the Sultans and nobility in the Sultanate period were Turks from Central Asia who spoke Turkic as their mother tongue. The Mughals were also from Central Asia, they spoke Turkish as their first language; however the Mughals later adopted Persian. Persian became the preferred language of the Muslim elite of north India before the Mughals entered the scene. Babur's mother tongue was a Turkic language and he wrote exclusively in Turkish. His son and successor Humayun also spoke and wrote in this Turkic language. Muzaffar Alam, a noted scholar of Mughal and Indo-Persian history, asserts that Persian became the "lingua franca" of the empire under Akbar for various political and social factors due to its non-sectarian and fluid nature.