Around 33,000 people in Scotland paid their respects to the Queen as she lay at rest in Edinburgh.
The Queen’s coffin was transported to St Giles’ Cathedral in the Scottish capital on Monday where for 24 hours mourners were able to file past to pay their last respects.
Thousands queued through the night for the opportunity before the Queen left Scotland for the final time on Tuesday afternoon.
The Scottish Government said it had been a “very special part of history for Scotland”.
A spokesperson added: “People across the country paid their respects, attending remembrance events and reflecting on a life of service.”
The Queen’s coffin left St Giles’ Cathedral shortly after 4pm on Tuesday as a cortege transported it to Edinburgh Airport.
The coffin was then flown to RAF Northolt, near London before it was driven to Buckingham Palace.
Her coffin will lie in state at Westminster Hall for four days where thousands more will pay their final respects.