Solicitor General for Scotland
Her Majesty's Solicitor General for Scotland () 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. 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. The current Solicitor General is Ruth Charteris QC, who is the deputy to the Lord Advocate, Dorothy Bain QC since June 2021. This is the first time in history both offices have been filled by two women. List of Solicitors General for Scotland. List from 1696. Until 1764, the office was at times held jointly.