Question: What dynasty was founded by one of the prominent rulers of Afghanistan during the First Anglo-Afghan War, who had a  dispute with former emir Shah Shujah hom they installed upon conquering Kabul in August 1839?
Sentence (from "Dost Mohammad Khan (Emir of Afghanistan)"): Dost Mohammad Khan (Pashto: دوست محمد خان‎ , December 23, 1793June 9, 1863) was the founder of the Barakzai dynasty and one of the prominent rulers of Afghanistan during the First Anglo-Afghan War.
Relevant evidence: Yes