The Third Anglo-Afghan War was a short war which began on 3 May and ended on 8 August 1919. The new Amir of the Emirate of Afghanistan Amanullah Khan declared a Jihad against the British in the hope to proclaim full independence, as well as to strengthen his own legitimacy. Amanullah's forces invaded British India on three fronts taking advantage of the unrest in India, in an effort to seize the old Afghan provinces west of the River Indus.
Initial victories saw the Afghans invade across the border, defeating the British and occupying Bagh. The British retaliated, leading a counterattack that routed the Afghans. Conflict continued in Kurram, which saw the British overwhelmed. Taking their own initiative, the British seized Spin Boldak in the south, while an Afghan offensive in Thal was contained, with the British occupying Dacca in turn by the end of May. The Royal Air Force were also used in bombing and strafing attacks on the frontier tribes as well as targets within Afghanistan, including Kabul and Jalalabad. Although small in scale, it was a contributing force for Amanullah to call for an armistice in June.