The Queen did not have far to travel when she officially opened the new home of the Scottish Parliament in October 2004.
The building now known as Holyrood was constructed just a stone's throw from the Palace of Holyroodhouse - the official residence of the Royal Family in Scotland.
The parliament building cost £414 million - 10 times the original estimate - but its opening ceremony was a landmark day in modern Scottish history.
In her speech to MSPs, the Queen said: "This new parliament building has had a difficult and controversial birth.
"But that is all the more reason to ensure that, with the energy, flair and determination for which Scots are renowned the world over, Holyrood comes to be seen as a landmark of 21st century democracy, built securely on the foundations of accessibility, accountability, equality of opportunity, and partnership - setting new standards of bringing people and parliament together."
The Queen would return to Holyrood after each Scottish election to officially open the new session of the parliament.
The most recent occasion came in October last year following the election in May, when the Queen paid tribute to the public's resilience during lockdown.
She spoke of her “hope and optimism” as Scotland emerged from “adverse and uncertain times” of the coronavirus pandemic.
“The beginning of a new session is a time for renewal and fresh thinking, providing an opportunity to look to the future and out future generations”, the Queen said.
She added: "We all know of the difficult circumstances that many people have encountered during the last 18 months.
"However, alongside this have been countless examples of resilience and goodwill.
"Following my grandson's time as Lord High Commissioner, Prince William has told me many heartening stories that he heard first hand of people and communities across Scotland uniting to protect and care for those who are isolated or vulnerable."
The Queen celebrated her Platinum Jubilee in June - with Nicola Sturgeon leading tributes in Holyrood.
She told MSPs: "There are different opinions across the UK on the institution of monarchy, that's right and proper. We should celebrate the fact we live in a democracy where those differences can be expressed.
"You don't have to be a great supporter of the monarchy - I'm not talking about me here - to have huge respect for the Queen and to think of her as a quite extraordinary individual to whom everybody across the UK and the Commonwealth owes a deep debt of gratitude."
Following the Queen's death at the age of 96, all parliamentary business at Holyrood will be suspended until after her funeral.
To sign up to the Daily Record Politics newsletter, click here.