More than 500 soldiers have paraded through Ripon, North Yorkshire to celebrate their return from Afghanistan.
21 Engineer Regiment lost two members during its six-month tour.
The regiment, which is based in the cathedral city's Claro Barracks, worked across Helmand Province.
It undertook a range of tasks including the closure or transfer of 33 security bases so security duties can be handed over to the Afghan National Security Forces.
Almost 240 of the 520 servicemen and women were given a medal at a ceremony at the barracks to mark their first tour of the region.
I am immensely proud of the hard work and dedication shown by the soldiers and officers of my regiment during our time in Afghanistan.
There were many high points, but sadly also some very low ones. It is with great sadness that during the tour we sustained the tragic loss of Captain James Townley and Sapper Richard Walker - our thoughts, as ever, are with their friends and families.
Despite such setbacks, my boys and girls picked themselves up and got on with the job in hand - I could not have asked for more.
A service at Ripon Cathedral commemorated the two fallen soldiers.
Sapper Richard Walker, 23, was shot dead by a member of the Afghan National Army during construction work in Helmand in January and Capt James Townley died in a shooting last September.
More top news
An injured Shetland pony has been found abandoned in a coal yard in Barnsley
Tributes are being paid to a West Yorkshire doctor who campaigned for better patient care.
Former airmen who became members of what's known as the 'Guinea Pig Club' meet at the Yorkshire Air Museum to mark its 75th anniversary.