Queen Elizabethmade her final appearance just two days before herdeathon Thursday.
The monarch, who died “peacefully” at age 96 at Balmoral Castle in Scotland, formally appointed a new prime minister on Tuesday. The new premierLiz Trusstraveled to Balmoral Castle in Scotland — where the Queen traditionally spends her summers — for the meeting. The meeting marked the first time thatQueen Elizabethappointed a new prime minister in Scotland.
The Queen — who had been experiencingepisodic mobility issuesbefore death — was photographed shaking hands with Truss while holding a walking cane and hergo-to black handbag.
Outgoing Prime MinisterBoris Johnsonalso traveled to Scotland for a formal farewell from the monarch on Tuesday.
Queen Elizabeth on Sept. 6, 2022 at Balmoral Castle.Jane Barlow - WPA Pool/Getty

“The Right Honourable Boris Johnson MP had an Audience of The Queen this morning and tendered his resignation as Prime Minister and First Lord of the Treasury, which Her Majesty was graciously pleased to accept,” Buckingham Palace said in a release.
For more on Queen Elizabeth, listen below to our daily podcast PEOPLE Every Day.
A source previouslyexplainedthat the decision was made for the audiences to take place at Balmoral to provide certainty for the new prime minister and Johnson’s schedules. Amid the Queen’s mobility issues, they wanted to avoid the issue of alternative arrangements at the last minute had the plan been for the monarch to travel to London or Windsor Castle.
Appointing the prime minister was one of the Queen’s key duties, one she did not delegate to her son and heirPrince Charles. In recent months, Charles took on an increasing number of roles on her behalf in the months before her death.
“After a full day yesterday, Her Majesty has this afternoon accepted doctors' advice to rest,” the palace said in a statement. “This means that the Privy Council meeting that had been due to take place this evening will be rearranged.
While the Queen scaled back her commitments prior to her death, she made anotherpublic appearanceto open the new 28-bedThames Hospicebuilding in Maidenhead in July.
It was the Queen’s fourth visit to the charity. She first opened Thames Hospice in Nov. 1987. In the last few years, it has been modernized and rebuilt on a new site following a huge $26 million fundraising effort.
Queen Elizabeth and Princess Anne.PA

Can’t get enough of PEOPLE’s Royals coverage?Sign up for our free Royals newsletterto get the latest updates onKate Middleton,Meghan Markleand more!
The hospice charity has been providing end-of-life and palliative care for people in the area for around 30 years for free, and the charity relies on donations for half of its $15.5 million annual running costs.
Thames Hospice Chair of Trustees Jonathan Jones said afterwards, “Today’s momentous visit builds upon a long-held association between the royal family and Thames Hospice. It is a huge privilege to welcome Her Majesty to officially open our facility and show how the charity continues to flourish 35 years on from the Queen’s very first visit.”
source: people.com