Scotland has had administrative devolution since the 19th Century. A non-elected Scottish Executive who administered services in Scotland on behalf of Westminster, e.g. education, health, policing. Scotland had its own laws and legal system up until 1707
1997 Referendum: passes with a 74% majority with 60% turnout after the 1979 referendum failed to meet its 40% in favour
Scotland Act 1998: granted devolution, implemented in 1999. This gave Scotland powers over: education, criminal and civil law, varying rate of tax +-3% etc.
A new electorate system was introduced for the Scottish Parliament, where their government would be made up of the largest party in the Parliament or by coalition. The First Minister would head the executive government
2014: Referendum for full independence defeated by 55% to 45%.
Scotland Act2016: Grants wide-ranging financial powers to the Scottish government, including control over income tax rates, as well as the areas the government can pass laws etc.
Brexit destabilised the Scottish situation, where 62% of Scottish voters wanted to remain in the EU, which could result in full Scottish independence in order tor remain in the European Union