prompting the resignation of First Minister Alex Salmond. Forty-five percent of Scottish voters cast their ballots for independence, with the "Yes" side receiving less support than late polling predicted. Exit polling by Lord Ashcroft suggested that many No voters thought independence too risky, while others voted for the Union because of their emotional attachment to Britain. Older voters, women and middle class voters voted no in margins above the national average. Following the Yes campaign's defeat, Salmond resigned and Nicola Sturgeon won that year's leadership election unopposed. Sturgeon years (2014 onwards) The SNP rebounded from their loss at the independence referendum at the 2015 UK general election eight months later, led by former Depute Leader Nicola Sturgeon. The party went from holding six seats in the House of Commons to 56, ending 51 years of dominance by the Scottish Labour Party. All but three of the fifty-nine constituencies in the country elected an SNP candidate in the party's most comprehensive electoral victory at any level. At the 2016 Scottish election, the SNP lost a net total of 6 seats, losing its overall majority in the Scottish Parliament, but returning for a third consecutive term as a minority government despite gaining an additional 1.1% of the constituency vote, for the party's best-ever result, from the 2011 election however 2.3% of the regional list vote. On the constituency vote, the SNP gained 11 seats from Labour, but lost the Edinburgh Southern constituency to Labour. The Conservatives and Liberal Democrats each gained two constituency seats from the SNP on 2011 (Aberdeenshire West and Edinburgh Central for the Conservatives and Edinburgh Western and North East Fife for the Liberal Democrats). This election was followed by the 2016 European Union referendum after which the SNP joined with the Liberal Democrats and Greens to call for continued UK membership of the EU. Despite a consequential increase in the Conservative Party vote at the 2017 local elections the SNP for the first time became the largest party in each of Scotland's four city councils: Aberdeen, Dundee, Edinburgh and Glasgow, where a Labour administration was ousted after 37 years. At the 2017 UK general election, the SNP underperformed compared to polling expectations, losing 21 seats to bring their number of Commons seats down to 35 – however this was still the party's second-best result ever at the time. This was largely attributed by many, including former Deputy First