answers: 1999
context: opposition in 1999, a minority government in 2007 and a majority government from 2011. In 2014, the independence referendum saw voters reject independence, choosing instead to remain in the United Kingdom. In the 2015 Westminster election, the SNP won 56 out of 59 Scottish seats, making them the third largest party in Westminster. After World War II, Scotland's economic situation became progressively worse due to overseas competition, inefficient industry, and industrial disputes. This only began to change in the 1970s, partly due to the discovery and development of North Sea oil and gas and partly as Scotland moved towards a </s> that the king would be succeeded by his daughter Mary, a Protestant and the wife of William of Orange, Stadtholder of the Netherlands, but when in 1688, James produced a male heir, James Francis Edward Stuart, it was clear that his policies would outlive him. An invitation by seven leading Englishmen led William to land in England with 40,000 men, and James fled, leading to the almost bloodless "Glorious Revolution". The Estates issued a "Claim of Right" that suggested that James had forfeited the crown by his actions (in contrast to England, which relied on the legal fiction of an </s> main hereditary line of the Stuarts became a focus for political discontent known as Jacobitism, leading to a series of invasions and rebellions mainly focused on the Scottish Highlands. After severe economic dislocation in the 1690s, there were moves that led to political union with England as the Kingdom of Great Britain, which came into force on 1 May 1707. The English and Scottish parliaments were replaced by a combined Parliament of Great Britain, but it sat in Westminster and largely continued English traditions without interruption. Forty-five Scots were added to the 513 members of the House of Commons and
question: when did scotland get their freedom from england