SNP Europe spokesman Stephen Gethins held off a Liberal Democrat challenge for his North East Fife seat with a winning margin of just two.
The result was finally announced shortly after 6.30am today – after a third recount.
Both Gethins and Janet Riches were recorded as taking 32.9% of the vote.
NE Fife decided by 2 votes, Gethins holds on , seriously, by two votes
— Laura Kuenssberg (@bbclaurak) June 9, 2017