Mir Yar Beg was a ruler within Badakhshan, who in the early 19th century was defeated by the khan of Kunduz, Mir Muhammad Murad Beg. The latter later became Emir of Bokhara, in what is today Uzbekistan.