King Charles III was given the keys to the City of Edinburgh in a ceremony at the Palace of Holyroodhouse.
The king, alongside Queen Camilla, took part in the Ceremony of the Keys in the garden of the palace, his official residence in Scotland, after inspecting the guard of honour.
Queen Camilla later hosted writers, publishers and booksellers to the palace in a celebration of Scottish literacy.
Crime authors Sir Ian Rankin and Val McDermid and newly-knighted Sir Alexander McCall Smith, creator of The No 1 Ladies’ Detective Agency series, were among Camilla’s guests.
She gathered the group associated with literature as she began her official stay in Scotland with the King, known as Holyrood Week, shorter this year because of General Election restrictions. Author Alexander McCall Smith was knighted for services to literature, academia and charity at an investiture ceremony at the palace.
Others to be honoured on Tuesday, after being named in the King’s New Year Honours, include Paul Mealor, professor of composition at the University of Aberdeen and Professor Sir Jim McDonald, principal of the University of Strathclyde, who was appointed Knight Grand Cross of the Order of the British Empire for services to engineering, education and energy.
Liz Smith, a former Scotland cricketer who is now a Conservative MSP, became a CBE for services to sport, while members of the emergency services were also among the more than 50 people honoured on Tuesday.
Queen Camilla later hosted writers, publishers and booksellers to the palace in a celebration of Scottish literacy.
![](https://www.thestar.co.uk/jpim-static/image/2024/07/02/14/04/Writer-displays-medal-presented-by-King-Charles-III.jpg?crop=3:2&trim=&width=800)
5. Professor Sir Alexander McCall Smith shows off his medal after being made a a Knight Bachelor.
Getty Images
![](https://www.thestar.co.uk/jpim-static/image/2024/07/02/14/08/Queen-Camilla-promotes-literacy.jpg?crop=3:2&trim=&width=800)
6. Queen Camilla speaks with guest at a celebration for those who promote Scottish Literacy at the Palace of Holyroodhouse.
Getty Images
![](https://www.thestar.co.uk/jpim-static/image/2024/07/02/14/05/Shakespeare-monologue-for-Queen-Camilla.jpg?crop=3:2&trim=&width=800)
7. 12-year-old Alex Bannan performs an impromptu monologue about William Shakespeare for Queen Camilla.
Getty Images
![](https://www.thestar.co.uk/jpim-static/image/2024/07/02/14/07/Book-festival-chair-speaks-to-royals.jpg?crop=3:2&trim=&width=800)
8. Allan Little, chair of the Edinburgh International Book Festival, delivers a speech during a celebration for those who work to promote Scottish literacy, including book shop owners, authors, and representatives from the Edinburgh International Book Festival and the Scottish Book Trust, during the royal visit to Edinburgh.
POOL/AFP via Getty Images