Khanate of Bukhara
After the death of Nader Shah in 1747, the chief of the Manghit tribe, Muhammad Rahim Biy Azaliq, overcame his rivals from other tribes and consolidated his rule in the Khanate of Bukhara. His successor, however, ruled in the name of puppet khans of Janid origin. In 1785 Shah Murad formalized the family's dynastic rule (Manghit dynasty), and the khanate became the Emirate of Bukhara