Crowds lined the streets of Edinburgh as Queen Elizabeth's coffin made its final journey in Scotland.

There was applause as the coffin left St Giles' Cathedral, where it had been lying at rest since Monday, to travel to Edinburgh Airport.

It was then flown to London on board a military plane.

About 33,000 people had filed past the coffin in the cathedral, with thousands queuing through the night for the chance to pay their respects.

First Minister Nicola Sturgeon was among those to attend a final prayer service at St Giles' Cathedral on Tuesday afternoon, alongside Presiding Officer Alison Johnstone and Scottish Secretary Alistair Jack.

An honour guard and royal archers lined the street before the Queen's coffin was brought outside.

It left St Giles' Cathedral on a hearse shortly before 16:20 to make the journey to Edinburgh Airport.

Thousands of people packed into the historic streets of Edinburgh for the third day in a row to see the coffin.

Support worker Bethany Walker, 21, said she came straight from her night shift to queue to pay her respects to the Queen.

"It's a historic event and we want to be there. It's part of the history books," she said.

Duncan Wilson Paisley, who served in the Royal Highlanders for 25 years, said he felt a particular gratitude to the Queen.

"She was a wonderful lady for whom everybody has the utmost respect," he said.

The coffin was taken to Edinburgh Airport as well-wishers lined the streets.