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
Details of thousands of peoples' medical records are being sold to fraudsters and criminals, it has been reported.
Britain is engaged in a "technology arms race" with terrorists determined to cause the country harm, the head of MI6 has warned.
The clock is ticking on Iran's nuclear development talks at a meeting with six world powers including Britain in Switzerland.