Shadow defence secretary Vernon Coaker said:
Our Armed Forces can be proud of the role they have played in helping Afghanistan transition to democracy and the contribution they have made to keeping people in Afghanistan and people here in Britain safe.
As well as the combat mission, the expert training given by the British military to the Afghan National Army and police has greatly increased the capacity of those security forces and that is hugely positive legacy to leave.
There are of course significant challenges that remain and we will continue to support the Afghan government and the people of Afghanistan to meet them.
More top news
Facebook says it will start test flights later this year of a solar-powered drone that aims to provide remote areas with the internet.
Children's charity Kids Company is being investigated by the Metropolitan Police over criminal allegations.
A senior employee at a 4-star London hotel has been jailed for six years for raping a man who he lured to a fake job interview.