Under the Durani monarchy it fell into the hands of the Afghans in 1752. Bukhara regained it in 1793. It was conquered by Shah Murad of Kunduz in 1826, and for some time was subject to the Emirate of Bukhara. In 1850, Dost Mohammad Khan, the Emir of Afghanistan, captured Balkh, and from that time it remained under Afghan rule. In 1866, after a malaria outbreak during the flood season, Balkh lost its administrative status to the neighbouring city of Mazar-i-Sharif ("Mazār-e Šarīf").