The Liberal Democrats have won the Inverness, Skye and West Ross-shire constituency, the last seat in the UK to announce its general election result.
Candidate Angus MacDonald gained a majority of 2,160 over the SNP’s Drew Hendry.
The SNP candidate had already conceded defeat after a recount delayed the result.
It means the Liberal Democrats have won 72 Westminster seats, six of which are in Scotland, meaning they have overtaken the Scottish Conservatives.