The Queen’s coffin has arrived at the Palace of Holyroodhouse in Edinburgh after a journey of more than six hours from her Scottish home, Balmoral Castle.
It is the end of the first stage of what her eldest son, King Charles, described as his mother’s “last great journey”.
Thousands of people lined roads along the 180-mile route as they paid their respects to the 96-year-old royal.
Details of favourite flowers from Balmoral garden in wreath revealed – live updates
The crowds were biggest in Edinburgh, where cheers and applause were heard as the hearse travelled through its sometimes narrow cobbled streets, and flowers were thrown in front of the car.
In some places, packed crowds were more than 10 deep.
Her oak coffin, draped with the Royal Standard of Scotland with a wreath of Balmoral flowers on top, was taken slowly in a seven-car cortege to the Scottish capital.
As it arrived at the Palace of Holyroodhouse – the official residence of the monarchy in Scotland – the Queen’s two youngest sons, Prince Andrew and Prince Edward, bowed their heads, and Edward’s wife, the Countess of Wessex, curtsied.
The coffin was then taken out of the hearse and carried inside the building by eight pallbearers – soldiers from the Royal Regiment of Scotland – as the royal trio repeated their gestures as the coffin passed them.
The Queen‘s only daughter, the Princess Royal, also curtsied as she stood alongside her husband, Vice Admiral Sir Timothy Laurence.
The couple had been part of the royal procession travelling in a limousine directly behind the hearse.
The royals then followed the coffin into the palace.
The coffin will rest in the throne room overnight so Holyroodhouse staff will be able to pay their last respects.
On Monday afternoon it will be taken along the historic Royal Mile to the city’s St Giles’ Cathedral where there will be a service.
The procession will feature the Queen’s four children following behind on foot, along with Sir Timothy Laurence.
The Queen Consort, Camilla, and the Countess of Wessex will follow by car and also attend the service.
There will be a Vigil of the Princes featuring the King and other royals, and the Queen will then lie at rest, where the public will be able to pay their respects for 24 hours.
Public viewing of the coffin begins at 5pm on Monday, but people have been warned of long waits, and photography and recording is strictly prohibited.
During the journey from Balmoral to Edinburgh, some mourners threw flowers at the hearse, while others had tears in their eyes, describing the occasion as “very emotional”.
The cortege left the estate just after 10am before passing through a number of villages, towns, and cities.
‘Sad and poignant moment’
Scotland’s First Minister Nicola Sturgeon paid tribute to the Queen when her final journey began.
Ms Sturgeon said in a tweet: “A sad and poignant moment as Her Majesty, The Queen leaves her beloved Balmoral for the final time.
“Today, as she makes her journey to Edinburgh, Scotland will pay tribute to an extraordinary woman.”
The first village was Ballater, the closest to Balmoral, where many locals considered the Queen as a neighbour.
Hundreds, silent and sombre, lined its main street, as the cortege passed slowly.
Elizabeth Taylor, from Aberdeen, shed tears as she considered what she had just seen.
She said: “It was very emotional. It was respectful and showed what they think of the Queen. She certainly gave service to this country, even up until a few days before her death.”
Another woman told Sky News she had driven eight hours from Cheshire to get to the village. She said: “I just wanted to be here today to wave her off. She’s been the constant figure in the whole of my life.
“It’s brought together all the losses of the last few years.”
More on the Queen:
What happens between now and the Queen’s funeral?
How the Queen adapted to Scotland’s shifting politics
The secrets behind some of the Queen’s most famous photos
In the town of Banchory, crowds again came out in large numbers, with some people clapping the cortege as it went by.
‘A wonderful salute’
Sky’s royal commentator Alastair Bruce said: “A wonderful salute from Banchory, quiet gentle applause and a few of them throwing flowers into the path of the hearse.”
Around two hours into its journey, it arrived in the city of Aberdeen, where large crowds fell silent as they watched the cortege pass. Many people brought their children to bear witness to the historic moment.
Some of the largest crowds were witnessed in the city of Dundee, where a lone long-stemmed flower could be seen on the hearse windscreen.
And in a rural part of the route, farmers paid homage to the Queen with tractors lined up in a field.
The Princess Royal will fly to London with her mother’s body on Tuesday afternoon.
The events in Scotland are the first meticulously planned steps leading to the funeral at Westminster Abbey on Monday 19 September – a day that will be a bank holiday.