Mary, Queen of Scots, escapes from Loch Leven Castle.

Lochleven Castle is a ruined castle on an island in Loch Leven, in the Perth and Kinross local authority area of Scotland. Possibly built around 1300, the castle was the site of military action during the Wars of Scottish Independence (12961357). In the latter part of the 14th century, the castle was granted to William Douglas, 1st Earl of Douglas, by his uncle. It remained in the Douglases' hands for the next 300 years. Mary, Queen of Scots, was imprisoned there in 156768, and forced to abdicate as queen, before escaping with the help of her gaoler's family. In 1588, the queen's gaoler inherited the title of Earl of Morton, and moved away from the castle. In 1675, Sir William Bruce, an architect, bought the castle and used it as a focal point for his garden; it was never again used as a residence.

Today, the remains of the castle are protected as a scheduled monument in the care of Historic Environment Scotland. Lochleven Castle is open to the public in summer, and access is available by ferry.

Mary, Queen of Scots (8 December 1542 – 8 February 1587), also known as Mary Stuart or Mary I of Scotland, was Queen of Scotland from 14 December 1542 until her forced abdication in 1567.

The only surviving legitimate child of James V of Scotland, Mary was six days old when her father died and she acceded to the throne. During her childhood, Scotland was governed by regents, first by the heir to the throne, James Hamilton, Earl of Arran, and then by her mother, Mary of Guise. In 1548, she was betrothed to Francis, the Dauphin of France, and was sent to be brought up in France, where she would be safe from invading English forces during the Rough Wooing. Mary married Francis in 1558, becoming queen consort of France from his accession in 1559 until his death in December 1560. Widowed, Mary returned to Scotland in August 1561. Following the Scottish Reformation, the tense religious and political climate that Mary encountered on her return to Scotland was further agitated by prominent Scots such as John Knox, who openly questioned whether her subjects had a duty to obey her. The early years of her personal rule were marked by pragmatism, tolerance, and moderation. She issued a proclamation accepting the religious settlement in Scotland as she had found it upon her return, retained advisers such as James Stewart, Earl of Moray, and William Maitland of Lethington, and governed as the Catholic monarch of a Protestant kingdom.

Mary married her half-cousin, Henry Stuart, Lord Darnley, in 1565, and in June 1566, they had a son, James. In February 1567, Darnley's residence was destroyed by an explosion, and he was found murdered in the garden. James Hepburn, 4th Earl of Bothwell, was generally believed to have orchestrated Darnley's death, but he was acquitted of the charge in April 1567, and the following month, he married Mary. Following an uprising against the couple, Mary was imprisoned in Loch Leven Castle. On 24 July 1567, she was forced to abdicate in favour of her one-year-old son. After an unsuccessful attempt to regain the throne, she fled southward seeking the protection of her first cousin once removed, Elizabeth I of England. (Elizabeth was the granddaughter of Henry VII of England, and Mary was his great-granddaughter.)

Mary had once claimed Elizabeth's throne as her own and was considered the legitimate sovereign of England by many English Catholics, including participants in a rebellion known as the Rising of the North. Perceiving Mary as a threat, Elizabeth had her confined in various castles and manor houses in the interior of England. After eighteen and a half years in captivity, Mary was found guilty of plotting to assassinate Elizabeth in 1586 and was beheaded the following year at Fotheringhay Castle. Mary's life, marriages, lineage, alleged involvement in plots against Elizabeth, and subsequent execution established her as a divisive and highly romanticised historical character, depicted in culture for centuries.