The letter on display was penned hours before Mary's execution
The last letter written by Mary Queen of Scots is to make a rare public appearance to mark the opening of a new library visitor centre.
She penned the letter at 0200 GMT on Wednesday February 8 1587, only six hours before she was executed.
The letter, addressed to Henri III of France, brother of her first husband, is very rarely on public display for preservation reasons.
The National Library of Scotland will show it from Tuesday for seven days.
It will be on show in a glass case until 21 September and will then be replaced by a copy for the duration of the Treasures exhibition, which ends on 8 November.
Martyn Wade, head of the National Library of Scotland, said: "This priceless document is one of Scotland's most prized historical possessions which is normally kept under lock and key.
"For reasons of preservation, viewings must be restricted therefore I am delighted to be able to bring it into the public domain for a short time only to help celebrate what is a tremendously important occasion for the library."
The 422-year-old manuscript is one of 11 literary gems going on show to celebrate the official launch of the library's new visitor centre following a £2.24m investment programme.
Among the other items on display will be a first edition of Pride and Prejudice by Jane Austen, the medieval manuscript of the Murthly Hours and David Hume's autobiography.
The improved visitor facilities include expanded exhibition and events spaces, while the library's public areas have been redesigned to create a more welcoming environment.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.