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
A mother from Leeds is urging young people to talk about their mental health after her son took his own life at the age of just 21.
A friendly match involving Leeds United's under-23 team in North Wales was abandoned after players were involved in a mass on-pitch brawl.
Thieves used a JCB digger to rip out a cash machine from a bank wall in Pocklington, East Yorkshire before leaving it behind