<Tr> <Th> Next time </Th> <Td> 19 August 2018 (2018 - 08 - 19) </Td> </Tr> <Tr> <Th> Frequency </Th> <Td> annual </Td> </Tr> <P> Afghan Independence Day is celebrated in Afghanistan on 19 August to commemorate the Anglo - Afghan Treaty of 1919 and relinquishment from protected state status . The treaty granted a complete neutral relation between Afghanistan and Britain . Afghanistan became a British protectorate after they made negotiations in the Second Anglo - Afghan War although Afghanistan had planned not to follow this protectorate in that time . </P> <P> The First Anglo - Afghan War (1839--1842) led to the British force taking and occupying Kabul . After this, due to strategic errors by Elphinstone, the entire British - led Indian invasion force was defeated by Afghan forces under Akbar Khan somewhere at the Kabul - Jalalabad Road, near the city of Jalalabad . After this defeat, the British - led forces returned to Afghanistan on a special mission to rescue their prisoners of war (POWs) and afterward withdrew until coming back in order to commence the Second Anglo - Afghan War . </P>

When did afghanistan gain independence from great britain