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 "Mir Masjidi Khan"): "Sahibzada" Mir Masjidi Khan (died 1841) was a celebrated Afghan resistance leader who opposed the installation of Shuja Shah Durrani (or 'Shah Shujah') as Emir of Afghanistan by the Government of British India during the First Anglo-Afghan War.
Relevant evidence: No