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
Another bitterly cold day after a freezing, frosty morning, not much change this afternoon
Nazanin Zaghari-Ratcliffe's five-year jail sentence is confirmed despite her husband's campaign to bring her home.
A man who was filmed swallowing a goldfish for a drinking challenge is facing jail.