Answer
The Durrani Dynasty was in decline when Dost Mohammad Khan became the Emir. The dynasty had been founded by Ahmad Shah Durrani in the late 18th century, but it had been weakened by internal conflicts and by the rise of the British Empire. Dost Mohammad Khan was able to unite the Durranis and to reassert their power, but he was unable to prevent the British from taking control of Afghanistan.