There are dozens of high and low-security prisons located all across Scotland.
Many of these prisons hold low-risk prisoners with short sentences while others have built notoriety for those housed within their walls.
From Barlinnie in Glasgow to the now-defunct Peterhead Prison in Aberdeenshire, here are some of the most notorious prisons in Scotland.
HM Prison Peterhead (closed in 2013)
Opened in 1888, Peterhead Prison has had a tumultuous history and is best known for a famous riot in 1987 which saw prisoners take 56-year-old prison officer Jackie Stuart hostage.
It was thought that the rioters, who were serving life sentences for violent crimes, had nothing to lose and would not hesitate to kill their hostage.
When negotiations with the prisoners broke down, the then-Home Secretary Douglas Hurd dispatched the SAS to end the riot. The operation was a success and the guard was released unharmed.
HM Prison Barlinnie
Barlinnie is Scotland's largest prison, housing around 1400 inmates from across the Greater Glasgow area.
A total of 10 judicial executions took place here between 1947 and 1960 with the second-last hanging in Scotland and the last hanging of a teenager in the UK happening here.
19-year-old Anthony Miller was put on trial in November 1960 for the murder of John Cremin during an attempted robbery. He was executed that same year.
HM Prison Edinburgh (Saughton Prison)
Commonly referred to as Saughton Prison, HMP Edinburgh is situated on the edge of the city.
A number of prisoners have been housed here, including murderer Peter Tobin, French holocaust denier and Nazi sympathiser Vincent Reynouard, rapist Dominic Devine and American fugitive Nicholas Rossi.
HM Prison Perth
Originally built to hold French prisoners captured during the Napoleonic Wars, HMP Perth is the oldest prison still in use in Scotland.
The prison currently holds around 700 inmates and is a Category A location, meaning it houses prisoners who are likely to escape and cause harm to those on the outside.
HM Prison Aberdeen (closed in 2014)
HM Prison Aberdeen is best known for being where the last execution by hanging took place in Scotland.
Henry John Burnett was executed in 1963 for the murder of merchant seaman Thomas Guyan.
The prison was also a pioneer when it came to drug rehabilitation and led a successful needle exchange programme.
The site later became known as Scotland's 'most overcrowded prison' before closing in 2014.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here