Former first minister Alex Salmond has lost his seat to the Conservatives.
The SNP lynchpin and ex-party leader was defeated by Colin Clark in Gordon.
Mr Salmond, the SNP’s foreign affairs spokesman, had swept to power in the seat with a 8,687 majority in 2015, overturning decades of Liberal Democrat rule.
In his speech, Mr Salmond said: “The SNP has lost a number of fine parliamentarians this evening, that is a grievous blow for us.
“But overall results show the SNP will win a majority of the seats in this country and a majority of the votes.”
He said that while the SNP may have been reduced in numbers at Westminster, they will still have significant influence.
And he added: “You’ve not seen the last of my bonnet and me,” quoting a Jacobite song.
Former first minister Alex Salmond loses Gordon seat