Afghan Wars 1839-42 and 1878-80

Many voices in Britain, from Lord Aberdeen to Benjamin Disraeli, had criticized the war as rash and insensate. The perceived threat from Russia was vastly exaggerated, given the distances, the almost impassable mountain barriers, and logistical problems that an invasion would have to solve. In the three decades after the First Anglo-Afghan War, the Russians did advance steadily southward towards Afghanistan. In 1842 the Russian border was on the other side of the Aral Sea from Afghanistan; but five years later the tsar’s outposts had moved to the lower reaches of the Amu Darya. By 1865 Tashkent had been formally annexed, as was Samarkand three years later. A peace treaty in 1873 with Amir Alim Khan of the Manghit Dynasty, the ruler of Bukhara, virtually stripped him of his independence. Russian control then extended as far as the northern bank of the Amu Darya.
In 1878, the British invaded again, beginning the Second Anglo-Afghan War.