The British army entered Kabul successfully in 1839.