 In 1826, the kingdom was claimed by Dost Mohammad Khan but in 1839 Shujah Shah Durrani was re-installed with the help of British India during the First Anglo-Afghan War.In 1841 a local uprising resulted in the killing of the British resident and loss of mission in Kabul and the 1842 retreat from Kabul to Jalalabad.In 1842 the British returned to Kabul, plundering Bala Hissar in revenge before fleeing back to British India (now Pakistan).