The decision of the Parliament of Scotland to ratify the Treaty of Union in 1707 was not unanimous and, from that time, individuals and organisations have advocated the reinstatement of a Scottish Parliament. Some have argued for devolution - a Scottish Parliament within the United Kingdom - while others have advocated complete independence. The people of Scotland first got the opportunity to vote in a referendum on proposals for devolution in 1979 and, although a majority of those voting voted 'Yes', the referendum legislation also required 40% of the electorate to vote 'Yes' for the plans to be enacted and this was not achieved. A second referendum opportunity in 1997, this time on a strong proposal, resulted in an overwhelming 'Yes' victory, leading to the Scotland Act 1998 being passed and the Scottish Parliament being established in 1999.
Scottish voters were given the chance to vote 'Yes' on outright independence in a 2014 referendum. In an effort to persuade Scots to remain in the Union, the major UK parties vowed to devolve further powers to Scotland after the referendum. The 'No' vote prevailed (independence was rejected), but the campaign promise of devolution resulted in the formation of the Smith Commission and the eventual passage of the Scotland Act 2016.
Having agreed to pass the Union with England Act, the Parliament of Scotland 'adjourned' on 25 March 1707. The new united Kingdom of Great Britain came into being on 1 May 1707, with a single parliament of Great Britain which in effect was the Parliament of England with the addition of Scottish representation. The post of Secretary of State for Scotland existed after 1707 until the Jacobite rising of 1745. Thereafter, responsibility for Scotland lay primarily with the office of the Secretary of State for the Northern Department, usually exercised by the Lord Advocate. The Secretaries of State were reorganised in 1782 and the duties now came under the Secretary of State for the Home Department.
1885 saw the creation of the Scottish Office and the post of Secretary for Scotland. From 1892 the Secretary for Scotland sat in cabinet, but the position was not officially recognised as a full member of the cabinet of the United Kingdom until the Secretary for Scotland post was upgraded to full Secretary of State rank as Secretary of State for Scotland in 1926.
In May 1913 the House of Commons passed the second reading of the Government of Scotland Bill 1913 (also referred to as the Scottish Home Rule Bill) by 204 votes to 159. The bill was supported by Liberals and opposed by Unionists. It did not proceed further due to the outbreak of the First World War.
The Scottish Covenant Association was a non-partisan political organisation that sought the establishment of a devolved Scottish Assembly. It was formed by John MacCormick who had left the Scottish National Party in 1942 when they decided to support all-out independence for Scotland rather than devolution as had been their position.
The Association was responsible for the creation of the Scottish Covenant, which gathered two million signatures in support of devolution. Members of the organisation were also responsible for the removal of the Stone of Destiny from Westminster Abbey in 1950 that attracted huge publicity for the cause of Scottish home rule.
The Scottish referendum of 1979 was a post-legislative referendum to decide whether there was sufficient support for the Scotland Act 1978 that was to create a deliberative assembly for Scotland. The Act required that for the Act not to be repealed at least 40% of the electorate would have to vote Yes in the referendum. The referendum resulted in a narrow Yes majority but fell short of the 40% requirement.
The Scottish devolution referendum of 1997 was a pre-legislative referendum over whether there was support for the creation of a Scottish Parliament within the United Kingdom and whether there was support for such a parliament to have tax varying powers. In response to the clear majority voting for both proposals, the United Kingdom Parliament passed the Scotland Act 1998, creating the Scottish Parliament and Scottish Executive.
The Act was introduced by the Labour government in 1998 after the 1997 referendum. It created the Scottish Parliament, setting out how Members of the Scottish Parliament are to be elected, making some provision about the internal operation of the Parliament  (although many issues are left for the Parliament itself to regulate) and setting out the process for the Parliament to consider and pass Bills which become Acts of the Scottish Parliament once they receive Royal Assent. The Act specifically asserts the continued power of the UK Parliament to legislate in respect of Scotland.
The Act devolves all powers except over matter it specifies as reserved matters. It further designates a list of statutes which are not amenable to amendment or repeal by the Parliament which includes the Human Rights Act 1998 and many provisions of the Scotland Act itself. Even when acting within its legislative competence, the Act further constrains the powers of the Parliament by inhibiting it from acting in a manner incompatible with the European Convention on Human Rights or European Community law. The same constraints apply to acts of the Scottish Executive.
The Scottish Parliament met for the first time on 12 May 1999 and began its first session with SNP member Winnie Ewing stating "the Scottish Parliament, adjourned on 25th day of March in the year 1707, is hereby reconvened"
Construction of the Scottish Parliament building began in June 1999 and the first debate in the new building was held on Tuesday 7 September 2004. The formal opening by the Queen took place on 9 October 2004.Enric Miralles, the Spanish architect who designed the building, died before its completion.
From 1999 until the opening of the new building in 2004, committee rooms and the debating chamber of the Scottish Parliament were housed in the General Assembly Hall of the Church of Scotland located on The Mound in Edinburgh. Office and administrative accommodation in support of the Parliament were provided in buildings leased from the City of Edinburgh Council. The new Scottish Parliament Building brought together these different elements into one purpose built parliamentary complex, housing 129 MSPs and more than 1,000 staff and civil servants.
The building aims to conceive a poetic union between the Scottish landscape, its people, its culture and the city of Edinburgh, an approach that won the parliament building numerous awards including the 2005 Stirling Prize, and it has been described as "a tour de force of arts and crafts and quality without parallel in the last 100 years of British architecture".
As a result of provisions in the Railways Bill, powers were transferred from the Department of Transport to the Scottish Executive, a move described by then First Minister, Jack McConnell as "...the most significant devolution of new powers to Scottish ministers since 1999."
A Scottish Executive was created under section 44 of the Scotland Act 1998. Following the 2007 Scottish Parliament election, the Scottish Executive was rebranded as the Scottish Government by the new Scottish National Party administration. Other changes that took place at this time included the development of the National Performance Framework and major restructuring whereby Directors-General were put in charge of the achievement of the Government's strategic objectives. These changes have been described as developing a form of strategic state. The Scottish Executive was legally renamed to the Scottish Government in the Scotland Act 2012.
The Calman Commission was established by a motion passed by the Scottish Parliament on 6 December 2007. Its terms of reference are: "To review the provisions of the Scotland Act 1998 in the light of experience and to recommend any changes to the present constitutional arrangements that would enable the Scottish Parliament to better serve the people of Scotland, that would improve the financial accountability of the Scottish Parliament and that would continue to secure the position of Scotland within the United Kingdom." However, concerns have been expressed that its final report will not have "much legitimacy" because it was skewed towards preserving the status quo.
During 2008, agreement was reached to transfer responsibility for all planning and nature conservation matters at sea up to 200 miles from the Scottish coast to the Scottish Government. The change has implications for the offshore industry, wind and wave power and to a lesser extent, fishing, though responsibility for fishing quotas remains a European Union issue and oil and gas licensing and permitting remains a reserved matter.
In August 2009 the SNP announced a Referendum Bill would be included in its package of bills to be debated before Parliament in 2009-10, with the intention of holding a referendum on the issues of Scottish independence in November 2010. The bill did not pass due to the SNP's status as a minority administration, and due to the initial opposition to the Bill from all other major parties in the Scottish Parliament.
Following the 2011 Scottish Parliament election the SNP had a majority in parliament and again brought forward an Independence Referendum Bill. The Scottish Government also suggested that full fiscal autonomy for Scotland (known as "devo-max") could be an alternative option in the vote. The negotiation of the Edinburgh Agreement (2012) resulted in the UK government legislating to provide the Scottish Parliament with the powers to hold the referendum. The "devo-max" option was not included, however, as the Edinburgh Agreement stipulated that the referendum had to be a clear binary choice between independence or the existing devolution arrangements. The Scottish Independence Referendum (Franchise) Act 2013 was passed by the Scottish Parliament and campaigning commenced. Two days before the referendum was held, with polls very close, the leaders of the three main UK political parties made "The Vow", a public pledge to devolve "extensive new powers" to the Scottish Parliament if independence was rejected. They also agreed to a devolution timetable proposed by Gordon Brown.
After heavy campaigning by both sides, voting took place on 18 September 2014. Independence was rejected by a margin of 45% in favour to 55% against.
The day after the referendum, David Cameron announced the formation of the Smith Commission to "convene cross-party talks" concerning "recommendations for further devolution of powers to the Scottish Parliament". Two months later, on 27 November 2014, the commission published its recommendations, which included giving the Scottish Parliament complete power to set income tax rates and bands, increased borrowing powers, and an extensive list of other rights and powers.
Based on the Smith Commission's recommendations, the Scotland Act 2016 was passed by Parliament and received Royal Assent on 23 March 2016. The Act set out amendments to the Scotland Act 1998 and devolved further powers to Scotland, most notably:
The Act recognised the Scottish Parliament and a Scottish Government as permanent among UK's constitutional arrangements, with a referendum required before either can be abolished.