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
The British Army's first ever female major general said she is "very honoured" by her new role.
Nick Kyrgios risks a heavy fine after going into a sulk and appearing to stop trying during his Wimbledon fourth-round match
Serena Williams may have ended her big sister Venus' best chance for an eighth major title to keep her calendar grand slam bid on track