Warship crew parade along Royal Mile in Edinburgh
The crew of HMS Edinburgh have paraded through the capital to celebrate the decommissioning of the 30-year-old ship.
Hundreds of people lined the Royal Mile to watch 250 officers and other service personnel march from Holyrood Palace to City Chambers led by a Marines band.
Outside the chambers the crew stopped to salute Lord Provost Donald Wilson.
They later returned for a reception where the provost was presented with a picture of the warship.
HMS Edinburgh and its crew were previously granted freedom of the city and the march is known as a Privilege Parade.
The warship arrived in Leith docks on Wednesday as part of a farewell trip around the UK.
It leaves for Liverpool, where it was built, on Tuesday, then continues on to its base in Portsmouth where it will be decommissioned.
It is the largest and last of the Navy's type-42 Destroyers and the crew will be redeployed next month.
Some will return to training and others will serve on the new fleet of type-45 Destroyers which will soon be commissioned.
HMS Edinburgh is open for public tours beside Ocean Terminal.
Commander Nick Borbone has been in charge of HMS Edinburgh for 18 months.
He said: "This trip marks the end of the ship and the life of the type-42 Destroyer, so it's really significant.
"Edinburgh is our spiritual home, so it's a huge highlight of our tour.
"It's one of the cities we visit most, so to be able to pay our respects and let the people of Edinburgh look over what is really their ship will be great before we go back to Portsmouth and decommission.
"Myself and many of the crew are strongly attached to the ship, so this will be a particularly emotional visit."