HMA v Gavin Riley

At the High Court in Edinburgh on 17 June 2016, Lord Boyd of Duncansby sentenced Gavin Riley to life imprisonment with a punishment part of 17 years, after the accused was convicted of the murder of William Gibb.

On sentencing, Lord Boyd made the following statement in court:

“Gavin Riley, on your own plea you have been convicted of the murder of William Gibb.

Having listened to the account of this dreadful act it is clear that you engaged in a prolonged and brutal assault on Mr Gibb. The injuries you inflicted on him are truly horrific and the details which his relatives had to listen to can only have increased the pain of their loss.

I have read the social work report and I note that you claim to have no recollection of what you did because of the level of your intoxication. While I accept that you were under the influence of alcohol and drugs, many people will find it hard to believe that you have no recollection of these events.

I have listened carefully to what Mr Jackson has said on your behalf. He tells me that you show remorse for what you have done and it is to your credit that you pled guilty at an early opportunity.

There is only one sentence that I can pronounce and that is that you will go to prison for life.

I am required by law to set a punishment part – that is the number of years that you will serve before you can apply to the parole board for release on licence. In considering any application the parole board will have to consider the protection of the public.

I note that the assessment in the social work report is that you pose the maximum risk to the public. If you are still considered a serious risk to the public when you apply for parole then you will not be released.

Had you been sentenced after trial the punishment part would have been 20 years. In view of the plea I shall discount that to one of 17 years backdated to 3 February 2016.”

Court Structure

Read about the hierarchy of the courts and the routes for appeal.

Find out more

Roles and Jurisdiction


Judges sit in a number of different courts hearing both civil and criminal cases.

Find out more

Judicial Office Holders

Judges' Library

Read about the varying roles and jurisdictions of judicial office holders in Scotland.

Find out more

Judicial Appointments

The Judicial Appointments Board for Scotland is the body responsible for the appointment of judges as vacancies arise. Find out how judges are appointed

More information

Representative Bodies

Read about the associations that represent the interest of sheriffs and justices of the peace

Find out more

A day in the life of....

Find out what a typical day in the life of a judge is like.

Find out more

Principles of Judicial Ethics


Judges hold an important position in society. They are entrusted with exercising considerable power, which can have a dramatic effect on the lives of those who appear in court. They must uphold the highest standards of conduct - both in and out of court.

Find out more

Judicial Independence

Parliament Hall

The independence of the judiciary is a cornerstone of a democratic society and a safeguard for the freedom and rights of the citizen under the rule of law. It means that judges should be free to make impartial decisions based solely on fact and law, without interference, pressure or influence from the state.

Find out more

Judicial Office for Scotland

The Judicial Office for Scotland came into being on the 1 April 2010 as part of the structural changes introduced by the Judiciary and Courts (Scotland) Act 2008.

Find out more

Related FAQs

Q.Do you have to be a certain age to be a judge?
Q.How do I address a judge in court?
Q.What is the significance of the crosses on judges’ robes?
Q.Who chooses judges?
Q.Why do judges wear wigs?

View all related FAQs