
Here's a complex question that requires someone to reason about the input, can you answer it?
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?


Barakzai dynasty
