Personnel from 1st Battalion The Rifles and reserves from 6th Battalion The Rifles have marched through Gloucester, following their deployment to Afghanistan.
The Freedom Parade was the city’s way of welcoming the soldiers back.
The 395 personnel marching had taken part in operation Toral in Kabul, providing forces protection for the mentoring and training mission there.
Major James McCarthy said the community has showed them "outstanding" support.
"It's really nice to see this as we get home. It's a reminder of what they're doing is really well supported."
A short service was held at Gloucester Cathedral and the Rifles band also performed in the procession.
Rifles County Colonel for Gloucestershire, Tony Ayres, said:
“We would like to thank the City of Gloucester for their kind invitation to welcome back the 1st Battalion after their recent operations.
“The Rifles and their forebears of the Gloucestershire Regiment have a shared history with the city going back over 300 years and we are very honoured to be marching through the city once again”
The NATO operation in Afghanistan has been going on for several years.