Middle Turkic languages, through the influence of Perso-Arabic after the 13th century, developed into the Chagatai language, a literary language used all across Central Asia until the early 20th century. After Chaghatai fell into extinction, the standard versions of Uyghur and Uzbek were developed from dialects in the Chagatai-speaking region, showing abundant Chaghatai influence. Uyghur language today shows considerable Persian influence as a result from Chagatai, including numerous Persian loanwords. Modern Uyghur religious literature includes the Taẕkirah, biographies of Islamic religious figures and saints. The Taẕkirah is a genre of literature written about Sufi Muslim saints in Altishahr. Written sometime in the period between 1700 and 1849, the Chagatai language (modern Uyghur) "Taẕkirah of the Four Sacrificed Imams" provides an account of the Muslim Karakhanid war against the Khotanese Buddhists, containing a story about Imams, from Mada'in city (possibly in modern-day Iraq) came 4 Imams who travelled to help the Islamic conquest of Khotan, Yarkand and Kashgar by Yusuf Qadir Khan, the Qarakhanid leader. The shrines of Sufi Saints are revered in Altishahr as one of Islam's essential components and the tazkirah literature reinforced the sacredness of the shrines. Anyone who does not believe in the stories of the saints is guaranteed hellfire by the tazkirahs. It is written, "And those who doubt Their Holinesses the Imams will leave this world without faith and on Judgement Day their faces will be black ..." in the "Tazkirah of the Four Sacrificed Imams". Shaw translated extracts from the Tazkiratu'l-Bughra on the Muslim Turki war against the "infidel" Khotan. The Turki-language "Tadhkirah i Khwajagan" was written by M. Sadiq Kashghari. Historical works like the "Tārīkh-i amniyya" and "Tārīkh-i ḥamīdi" were written by Musa Sayrami. The Qing dynasty commissioned dictionaries on the major languages of China which included Chagatai Turki language, such as the Pentaglot Dictionary.