Khanate of Khiva
It was also the official and cultural language of many Islamic dynasties, including the Samanids, Buyids, Tahirids, Ziyarids, the Mughal Empire, Timurids, Ghaznavids, Karakhanids, Seljuqs, Khwarazmians, the Sultanate of Rum, Turkmen beyliks of Anatolia, Delhi Sultanate, the Shirvanshahs, Safavids, Afsharids, Zands, Qajars, Khanate of Bukhara, Khanate of Kokand, Emirate of Bukhara, Khanate of Khiva, Ottomans and also many Mughal successors such as the Nizam of Hyderabad.