2017 United Kingdom general election in Scotland – Wikipedia

The general election in Scotland was fought in the aftermath of the 2016 Scottish Parliament election in which the SNP won a third term in government but lost their overall majority in the Scottish Parliament. At that election, the Scottish Conservatives increased their number of MSPs, overtaking Labour as the largest opposition party.

https://en.wikipedia.org/wiki/United_Kingdom_general_election,_2017_(Scotland)