Solicitor General for Scotland

His Majesty's Solicitor General for Scotland (Àrd-neach-lagha a' Chrùin an Alba) is one of the Law Officers of the Crown, and the deputy of the Lord Advocate, whose duty is to advise the Scottish Government on Scots Law. They are also responsible for the Crown Office and Procurator Fiscal Service which together constitute the Criminal Prosecution Service in Scotland.

Together with the Lord Advocate, the Solicitor General for Scotland is one of the senior legal advisors to the government in Scotland. Whilst the Solicitor General for Scotland supports the Lord Advocate in their functions, the Solicitor General may also exercise their statutory and common law powers when necessary.

History
Until 1999, when the Scottish Parliament and Scottish Executive were created, the Lord Advocate and the Solicitor General for Scotland advised Her Majesty's Government. Since their transfer to the Scottish Government, the British Government has been advised on Scots Law by the Advocate General for Scotland. Until 2007, both the Lord Advocate and the Solicitor General attended the weekly meetings of the Scottish cabinet, until then–First Minister Alex Salmond ended this in an attempt to "de-politicise the post". Both the Lord Advocate and Solicitor General remain members of the Scottish Government as the two senior law officers, and may still attend cabinet meetings if legal issues are expected to arise.

In 2021, there were calls for the Scottish Government to review the post of Lord Advocate in its current form, which sees the post holder being the principal legal adviser to the Scottish Government as well as serving as the head of the prosecution's system in Scotland. The Scotland Act 1998 allows for the amendment of both the Lord Advocate and Solicitor General for Scotland's post and functions which would allow the Scottish Government to separate the roles of both prosecutor and the principal government adviser between the two law officer posts – the Lord Advocate and the Solicitor General for Scotland. If such changes were implemented by the Scottish Government to amend the post, it could see that the Lord Advocate continues as the head of Scotland's prosecution service, whilst no longer attending cabinet meetings of the Scottish Government. As a result, the responsibility of principal legal adviser to the Scottish Government would subsequently pass to the Solicitor General for Scotland who would be required to attend cabinet meetings when necessary.

It has been argued by Scott Crichton Styles of the Press and Journal that the position of Solicitor General and the Lord Advocate will "always be accused of being biased unless the role is changed", citing the legal case HM Advocate v Salmond and the subsequent issues this case caused, considering the Lord Advocate and Solicitor General for Scotland is expected to conduct their duties independent of the government. A consultation of Scottish lawyers in 2021 found an overwhelming majority of those asked were in favour of the Lord Advocate's role to be split. Both the government of Nicola Sturgeon and Sturgeon's successor, the Yousaf government, have committed to a review of the Lord Advocate's by the end of the current Scottish Parliamentary term in 2026.

The current Solicitor General is Ruth Charteris, who is the deputy to the Lord Advocate, Dorothy Bain, since June 2021. The appointment of both Charteris and Bain to the posts of Solicitor General for Scotland and Lord Advocate respectively marks the first time that the two senior law officers in Scotland has been held by women at the same time.

Responsibilities
Ultimately, the office holder of Solicitor General for Scotland is the deputy to the Lord Advocate, and assists the incumbent Lord Advocate in carrying out the duties of their post. Like the Lord Advocate, the Solicitor General is a member of the Scottish Government and one of the Law officers of the Crown in Scotland. The Solicitor General is a member of the Crown Office and Procurator Fiscal Service, and may be instructed by the First Minister to investigate matters on their behalf rather than the Lord Advocate.

In 2023, the Solicitor General for Scotland was instructed by the incumbent First Minister of Scotland Humza Yousaf to "fully investigate" claims made during the United Kingdom's COVID-19 inquiry regarding messages and WhatsApp messages not being handed over by senior government officials for investigation. Yousaf claimed that it "was his understanding" that all messages required had been handed over for scrutiny during the inquiry, but had confirmed "if there are any concerns raised they will be fully investigated and I will ask the solicitor general to investigate them."

List of Solicitors General for Scotland
List from 1696. Until 1764, the office was at times held jointly.

Pre-Union

 * 1696–1700: Sir Patrick Hume
 * 1701–1706: Sir David Dalrymple of Hailes
 * 1701–1709: William Carmichael

Post-Union

 * 1709–1714: Thomas Kennedy* & Sir James Steuart, Bt.
 * 1714–1716: John Carnegie of Boyseck
 * 1714–1717: Sir James Steuart, Bt.
 * 1717–1720: Robert Dundas, the elder*
 * 1720–1721: Walter Stewart
 * 1721–1733: John Sinclair
 * 1721–1725: Charles Binning
 * 1725–1737: Charles Erskine*
 * 1737: William Grant of Prestongrange*
 * 1742: Robert Dundas, the younger*
 * 1746: Patrick Haldane of Gleneagles & Alexander Hume
 * 1755: Andrew Pringle of Alemore
 * 1759: Thomas Miller*
 * 1760: James Montgomery* & Francis Garden
 * 1764: James Montgomery*
 * 1766: Henry Dundas*
 * 1775: Alexander Murray
 * 1783: Ilay Campbell* & Alexander Wight
 * 1784: Robert Dundas*
 * 1789: Robert Blair
 * 1806: John Clerk
 * 1807: David Boyle
 * 1811: David Monypenny
 * 1813: Alexander Maconochie*
 * 1816: James Wedderburn
 * 1822: John Hope
 * 1830: Henry Cockburn
 * 1834: Andrew Skene
 * 1834: Duncan McNeill*
 * 1835: John Cunninghame
 * 1837: Andrew Rutherfurd*
 * 1839: James Ivory
 * 1840: Thomas Maitland
 * 1841: Duncan McNeill*
 * 1842: Adam Anderson*
 * 1846: Thomas Maitland
 * 1850: James Moncreiff*
 * 1851: John Cowan
 * 1851: George Deas
 * 1852: John Inglis*
 * 1852: Charles Neaves
 * 1853: Robert Handyside
 * 1853: James Craufurd
 * 1855: Thomas Mackenzie
 * 1855: Edward Maitland
 * 1858: Charles Baillie*
 * 1858: David Mure*
 * 1859: George Patton*
 * 1859: Edward Maitland
 * 1862: George Young*
 * 1866: Edward Strathearn Gordon*
 * 1867: John Millar
 * 1868: George Young*
 * 1869: Andrew Rutherfurd-Clark
 * 1874: John Millar
 * 1874: William Watson*
 * 1876: John Macdonald*
 * 1880: John Balfour*
 * 1881: Alexander Asher
 * 1885: James Robertson*
 * 1886: Alexander Asher
 * 1886: James Robertson*
 * 1888: Moir Tod Stormonth Darling
 * 1890: Sir Charles Pearson*
 * 1891: Andrew Murray*
 * 1892: Alexander Asher
 * 1894: Thomas Shaw*
 * 1895: Andrew Murray*
 * 1896: Charles Dickson*
 * 1903: David Dundas
 * 1905: Edward Theodore Salvesen
 * October 1905: James Avon Clyde*
 * December 1905: Alexander Ure*
 * February 1909: Arthur Dewar
 * April 1910: William Hunter
 * December 1911: Andrew Anderson
 * October 1913: Thomas Brash Morison*
 * 1920: Charles David Murray*
 * March 1922 – July 1922: Andrew Constable
 * July 1922 – November 1922: William Watson*
 * November 1922: David Fleming
 * April 1923: Frederick Thomson
 * February 1924: John Charles Fenton
 * November 1924: David Fleming
 * 1925: Alexander Munro MacRobert*
 * 1929: Wilfrid Normand*
 * 1929: John Charles Watson
 * 1931: Wilfrid Normand*
 * 1933: Douglas Jamieson*
 * 1935: Thomas Mackay Cooper
 * 1935: Albert Russell
 * 1936: James Reid
 * 1941: Sir David King Murray
 * 1945: Daniel Blades
 * 1947: John Wheatley *
 * 1947: Douglas Johnston
 * 1951: William Rankine Milligan *
 * 1955: William Grant *
 * 1960: David Anderson
 * 1964: Norman Wylie * (April to October)
 * 1964: James Graham Leechman
 * 1965: Henry Wilson*
 * 1967: Ewan George Francis Stewart
 * 1970: David William Robert Brand
 * 1972: William Stewart
 * 1974: Lord McCluskey
 * 1979: Nicholas Fairbairn
 * 1982: Peter Fraser*
 * 1989: Alan Rodger*
 * 1992: Thomas Dawson
 * 1995: Donald Mackay*
 * 1995: Paul Cullen
 * 1997: Colin Boyd*

Post-–devolution

 * 2000: Neil Davidson
 * 2001: Elish Angiolini*
 * 2006: John Beckett
 * 2007: Frank Mulholland*
 * 2011: Lesley Thomson
 * 2016: Alison Di Rollo
 * 2021: Ruth Charteris


 * * = served later as Lord Advocate