The Khanate of Bukhara was an Uzbek monarchy in Central Asia from 1501 to 1785, founded by the Shaybanid dynasty, a branch of the Abu'l-Khayrids. Muhammad Shaybani, grandson of the steppe ruler Abu'l Khayr Khan, conquered the major cities of Mawarannahr (Transoxiana) — Balkh, Bukhara, Samarkand, and Tashkent — and established his rule in the region. In its earliest years, the Khanate was alternately governed from each of these cities before Abdullah Khan II (r. 1557–1598) established Bukhara as its permanent capital by 1562.
In the 17th and 18th centuries, the Khanate was ruled by the Janid dynasty (also referred to as Ashtarkhanids or Toqay Timurids). They were the last Chingissid dynasty to rule Bukhara. In 1740, it was conquered by Nader Shah, the Shah of Iran. After his death in 1747, the Khanate was controlled by the non-Chingissid descendants of the Uzbek emir Khudayar Bi, through the prime ministerial position of ataliq. In 1785, his descendant, Shah Murad, formalized the family's dynastic rule (Manghit dynasty), and the Khanate became the Emirate of Bukhara. The Manghits were non-Chingissid and took the Islamic title of emir instead of khan since their legitimacy was not based on descent from Genghis Khan.