Dost Muhammad Khan, 1826-1863, Amir of Afghanistan