The Scottish Government (Scottish Gaelic: Riaghaltas na h-Alba, pronounced [ˈrˠiə.əl̪ˠt̪əs nə ˈhal̪ˠapə]) is the devolved government of Scotland. It was formed in 1999 as the Scottish Executive following the 1997 referendum on Scottish devolution, and is headquartered at St Andrew's House in the capital city, Edinburgh. It has been described as one of the most powerful devolved governments globally, with full legislative control over a number of areas, including education, healthcare, justice and the legal system, rural affairs, housing, the crown estate, the environment, emergency services, equal opportunities, public transport, and tax, amongst others.
The Scottish Government consists of the Scottish Ministers, which is the term used to describe their collective legal functions. The Scottish Government is accountable to the Scottish Parliament, which was also created by the Scotland Act 1998. The first minister is nominated by Parliament, then formally appointed by the monarch. The Scotland Act 1998 makes provision for ministers and junior ministers, referred to by the current administration as cabinet secretaries and ministers, in addition to two law officers: the lord advocate and the solicitor general for Scotland. The first minister selects ministers from the body of serving members of the Scottish Parliament, after which their appointment is approved by Parliament and the monarch. Collectively the Scottish Ministers and the Civil Service staff that support the Scottish Government are formally referred to as the Scottish Administration. The Scottish Cabinet consists of the first minister and their deputy, cabinet secretaries, the law officers, the permanent secretary and Minister for Parliamentary Business.