Battle of Kabul ( 1842 ) The Battle of Kabul was fought from August to October , 1842 , between British and Afghan forces . It was the concluding engagement of the First Anglo - Afghan War . The British advanced on Kabul from Kandahar and Jalalabad to avenge the earlier Massacre of Elphinstone ' s Army . Having recovered several prisoners captured in that event , the British demolished parts of Kabul before evacuating Afghanistan and retreating to India . Background . In the late 1830s , the British government and the British East India Company became obsessed with the idea that Emir Dost Mohammed of Afghanistan was courting Imperial Russia . They arranged passage through Sindh for an army which invaded Afghanistan and restored the former ruler Shuja Shah Durrani , who had been deposed by Dost Mohammed thirty years earlier and who had been living as a pensioner in India . They also agreed safe passage for supplies and reinforcements with Maharaja Ranjit Singh of the Sikh Empire , in return for inducing Shah Shuja to formally cede the disputed region of Peshawar to him . The British captured Kabul , and Dost Mohammed surrendered himself into British custody in November 1840 . Over the next year , complacent British commanders withdrew some of their forces even as popular resistance grew . They also ceased paying subsidies to the Ghilzai s , who controlled the routes between Kabul and Peshawar . A brigade commanded by Brigadier Robert Sale was sent in October 1841 from Kabul to clear the route to India via the Khyber Pass , but faced opposition from Ghilzai tribesmen all the way , and was blockaded in Jalalabad , halfway to the Khyber Pass . In November 1840 , there was a popular uprising in Kabul , in which the Resident Political Agent Alexander Burnes was murdered . The ineffectual commander of the Kabul garrison , General William George Keith Elphinstone , failed to react to the uprising . Dost Mohammed ' s son Akbar Khan , arrived to lead the insurrection . Elphinstone asked for reinforcements from Major General William Nott , commanding at Kandahar . Nott unwillingly dispatched a brigade under Brigadier MacLaren but it was turned back by heavy snowfalls . William Hay Macnaghten , the Minister to Shah Shujah ' s court , attempted to sow dissension within the insurgent ranks and even arrange for Akbar Khan to be assassinated , but Akbar Khan was informed of his planned treachery and murdered Macnaghten at a meeting on 23 December . Finally , with his troops blockaded in an indefensible encampment outside Kabul , Elphinstone signed a convention with Akbar Khan by which his army was to evacuate Kabul , and was guaranteed safe passage to Jalalabad . The result was the slaughter of Elphinstone ' s army of 4 , 500 British and Indian soldiers and 12 , 000 camp followers by tribesmen in January 1842 . Only one British surgeon and a handful of Indian sepoy s reached Jalalabad . Elphinstone and several officers and their families surrendered themselves as hostages and were taken prisoner . British situation . Lord Auckland , the Governor General of India , was said to have aged ten years overnight on hearing of the disaster . He nevertheless dispatched Major General George Pollock with reinforcements to Peshawar . Here , a brigade of Bengal units commanded by Brigadier Wild , with a Sikh contingent , had made an ineffectual attempt to break through the Khyber Pass in late December 1841 . The Sikhs had deserted and the Bengal units were demoralised by cold , lack of clothing and rumours of the disaster to Elphinstone ' s army . Pollock ' s orders were to restore the efficiency of the troops at Peshawar and relieve the besieged garrison of Jalalabad . Auckland was already due to be replaced as Governor General by Lord Ellenborough , whose ship arrived off Madras on 21 February . Before officially taking up his appointment , Ellenborough wrote that he intended to restore British prestige and honour . The British still held several garrisons in Afghanistan : at Kandahar under Nott , at Ghazni on the route between Kandahar and Kabul , and at Jalalabad under Sale . The captive General Elphinstone had sent orders to the other garrison commanders that they were to evacuate their positions under the terms of the capitulation he had agreed with Akbar Khan . ( Elphinstone died in April , still a captive . ) Nott and Sale ignored Elphinstone ' s order , but Colonel Thomas Palmer at Ghazni obeyed it , withdrawing from the easily - defended citadel into vulnerable buildings in the city . Shah Shuja still held the fortress of Bala Hissar in Kabul and was attempting to bribe chiefs and tribes to his cause , although he was no longer supported by the British . He even attempted to improve his standing within Afghanistan by demanding that the British comply with the terms Elphinstone had agreed with Akbar Khan . Developments in March and April . During the late winter and spring , there was fighting around all the British - held enclaves . On 10 February , Nott led a force from Kandahar against the tribes blockading him . The Afghans , under a wily chief named Mirza Ahmed , bypassed him and attacked the city , setting fire to a gate to gain entry . They were driven off by the small garrison left by Nott , suffering heavy casualties . Nott ' s supplies were running short , and a brigade under Brigadier England which tried to reach him from Quetta with supplies was repulsed . With Kandahar no longer directly threatened , Nott sent a substantial detachment to rendezvous with England and escort him to Kandahar . On 6 March , the troops at Ghazni ( the 27th Bengal Native Infantry ) came under attack in their temporary quarters . After resisting for two and a half weeks , they were forced to surrender . The sepoys who refused to convert to Islam were murdered , and the British officers and their families also became prisoners of Akbar Khan . On 31 March , Pollock completed restoring the morale of the sepoys at Peshawar and forced his way through the Khyber Pass . He sent his troops up the heights on either side of the pass to outflank the defenders , and succeeded with very few casualties . He reached Jalalabad on 14 April , to find the siege already lifted . After wavering for some weeks , Sale had led a sortie by the garrison of Jalalabad on 19 February , to capture grazing sheep to replenish his supplies of food . He repeated the sortie on 7 April , defeating the besiegers and forcing them to raise the siege . With Akbar Khan absent conducting the siege of Jalalabad , Shah Shuja had restored his authority around Kabul . After temporising for several weeks and secretly asking for British help from India , he reluctantly emerged from the Bala Hissar at the end of March to join the jihad proclaimed by Akbar Khan . He was assassinated by adherents of Nawab Zaman Khan , an influential chieftain who resented the favour shown by Shah Shuja to his rival Naib Aminullah Khan . One of the assassins was Shah Shuja ' s godson , Shuja ' al - Daula . Shah Shuja ' s son Futteh Jung proclaimed himself his father ' s successor , but had even less support than his father . The battle . In India , Lord Ellenborough had softened his earlier attitude . His primary objective was to avoid the expense of a long war . He ordered Nott and Pollock to retreat , arguing that once the British had evacuated Afghanistan , negotiations with Akbar Khan for the release of the hostages could proceed calmly . Ellenborough was opposed by his generals and by the government in Britain , all of whom insisted that stern retribution was required . He accordingly modified his orders . Pollock and Nott were again ordered to retreat , but Nott was allowed to retreat by way of Kabul if he chose , making a detour of over , and Pollock was also permitted to move to Kabul to cover Nott ' s retreat . The late nineteenth - century historian John William Kaye wrote that , " No change had come over the views of Lord Ellenborough , but a change had come over the meaning of certain words in the English language . " Nott began his " retreat " on 9 August . He sent the bulk of his troops and camp - followers back to Quetta but began advancing north to Kabul with two British regiments ( the 40th Foot and the 41st Foot ) , some sepoy regiments which had earlier distinguished themselves and four batteries of artillery , 6 , 000 men in total . On 30 August , he defeated a force of 10 , 000 Afghans at Khelat - i - Ghilzai near Ghazni . He captured Ghazni itself without opposition , and looted the city in retaliation for the attack on Palmer . Lord Ellenborough had specifically ordered him to recover a set of ornate gates , known as the Somnath Gates , which had been looted from India by the Afghans and hung at the tomb of Sultan Mahmud II . A whole sepoy regiment , the 43rd Bengal Native Infantry ( which later became the 6th Jat Light Infantry after the Indian Rebellion of 1857 ) , was detailed to carry the gates back to India . Nott ' s force arrived at Kabul on 17 September . Pollock ' s army , which was widely termed the " Army of Retribution " , meanwhile advanced from Jalalabad . The army consisted of four brigades , one of which was made wholly of British troops . It numbered about 8 , 000 men in total . After a sharp engagement on 13 September , they defeated some 15 , 000 tribesmen deployed by Akbar Khan at the Tezin Pass , and the way to Kabul was clear . Pollock ' s troops came across many skeletons and unburied bodies from Elphinstone ' s army and , in spite of orders from Ellenborough and Pollock to show restraint , they committed many savage reprisals against villages and their inhabitants . Pollock reached Kabul on 15 September , two days before Nott . As the British advanced , the hostages in Akbar Khan ' s hands were treated less severely than previously , although they were moved to Bamian to keep them out of reach of the British armies . Nott was urged to send cavalry to rescue the hostages , but he declined to do so ( possibly as a result of a minor disaster on 29 August , when his cavalry had suffered heavy losses in a mishandled attack ) . Instead , Pollock sent Qizilbash i irregular cavalry under Richmond Shakespeare ( his Military Secretary ) and infantry under Brigadier Sale to rescue them . They found that when news of the Afghan defeats reached their guards , the hostages , including Sale ' s own wife , had negotiated their own release in return for payments . In all , thirty - five British officers , fifty - one private soldiers , twelve officers ' wives and twenty - two children who had been taken hostage by Akbar Khan were released . A detachment from Pollock ' s army laid waste to Charikar , in revenge for the destruction and massacre of an irregular Gurkha unit there the previous November . Finally , Pollock ordered the historic covered bazaar of Kabul to be destroyed . Although he issued orders that the rest of the city was to be spared , discipline in the army broke down and there was widespread looting and destruction . Even the Persian - speaking Shia Qizilbashis , who were opposed to Akbar Khan , and many Indian merchants were ruined . Not all the Indian sepoys of Elphinstone ' s army had been killed . Perhaps 2000 , many of whom had lost limbs to frostbite , had returned to Kabul to be sold into slavery or to exist by begging . Pollock was able to release many of them , but many others were left behind in the surrounding hills when Pollock precipitately retreated in November 1842 . Final evacuation . Pollock ' s army then retired through Jalalabad to Peshawar . Futteh Jung handed over power to another nominee and accompanied the retreating army . The withdrawal from Kabul was an arduous march , harassed from Gandamak onwards by Afghan tribesmen . Although the march was far better organised than Elphinstone ' s retreat , large numbers of stragglers were left behind to be rescued by the rearguard or abandoned to die . Part of one division commanded by General McGaskill was ambushed near Ali Masjid at the narrowest point of the Khyber Pass on 3 November and destroyed . Casualties were suffered to snipers and ambushes until the troops were within sight of Jamrud Fort and safety . Aftermath . Within three months of the final British retreat , the British allowed Dost Mohamed to return from India to resume his rule . Akbar Khan died in 1847 . ( It was sometimes supposed that he had been poisoned by his father , who feared his ambition . ) Dost Mohamed ' s subsequent relations with the British were equivocal until his death . He half - heartedly supported the Sikhs during the Second Anglo - Sikh War in return for a promise that Peshawar would be restored to Afghan rule , but the British never abandoned the city and the Sikhs were defeated . He remained neutral when the Indian Rebellion of 1857 broke out . British policy was to avoid expeditions into Afghanistan for nearly forty years . The supposed Somnath Gates which had been laboriously carried back to India were paraded through the country , but were declared to be fakes by Hindu scholars . ( Henry Rawlinson , a political agent attached to Nott ' s force , had already warned Ellenborough that this was the case . ) They were eventually installed at Agra . An infantry battalion and an artillery battery from Shah Shuja ' s army retreated to India with the British armies . They were taken into the East India Company ' s army and the artillery unit eventually became part of the British army . ( It survives to this day as T ( Headquarter ) Battery , 12th Regiment Royal Artillery . )