History of First Anglo-Afghan War

The First Anglo-Afghan War (also known by the British as the Disaster in Afghanistan) was fought between the British East India Company and the Emirate of Afghanistan from 1839 to 1842. Initially, the British successfully intervened in a succession dispute between emir Dost Mohammad (Barakzai) and former emir Shah Shujah (Durrani), whom they installed upon conquering Kabul in August 1839. The main British Indian and Sikh force occupying Kabul along with their camp followers, having endured harsh winters as well, was almost completely annihilated while retreating in January 1842. The British then sent an Army of Retribution to Kabul to avenge their defeat, and having demolished parts of the capital and recovered prisoners they left Afghanistan altogether by the end of the year. Dost Mohamed returned from exile in India to resume his rule.

It was one of the first major conflicts during the Great Game, the 19th century competition for power and influence in Central Asia between Britain and Russia.