
The First Minister of Scotland. Scottish Government / Flickr. Some rights reserved.
One of the major surprises from last night’s general election was the SNP's fall from grace. In 2015 Nicola Sturgeon's party dominated the election in Scotland by winning 56 seats out of a possible 59. Only two years later, however, and this was reduced to 34 seats. The party also lost two of their biggest names in Westminster – depute leader of the party Angus Robertson and former first minister Alex Salmond.
What lies behind these changing fortunes? Here are five important factors: