Barakzai dynasty
The territory was ruled by the Khanate of Bukhara between the early 16th century and the mid-18th century. As Ahmad Shah Durrani's northern Afghanistan conquest began Parwan area which contained today's Panjshir was conquered by Ahmad Shah Durrani and officially accepted as a part of Durranis by Murad Beg of Bukhara after a treaty of friendship was signed in or about 1750, and became part of the Durrani Empire. It was fully ruled by the Durranis followed by the Barakzai dynasty, and was untouched by the British during the 19th century Anglo-Afghan wars. Panjshir was attacked multiple times during the Soviet-Afghan War, against Ahmad Shah Massoud and his forces.