RESULT: SNP hold Linlithgowpublished at 05:12 British Summer Time 6 May 2016

SNP win a third successive term at Holyrood
But the party falls short of an overall majority
The Scottish Conservatives beat Labour into second place
Scottish Greens overtake Liberal Democrats
Green candidate Ross Greer, 21, becomes youngest MSP
UKIP fails to win a seat at Holyrood
BBC Scotland News
Conservative Finlay Carson holds Galloway and West Dumfries.
Scottish Liberal Democrat leader Willie Rennie has taken the Fife North East seat from the SNP.
The politician, who had secured his 2011 seat through the list vote, beat SNP candidate rival Roderick Campbell by 3,465 votes.
Mr Rennie received 14,928 votes, an increase of 15% from 2011.
He said: "It feels fantastic to have won North East Fife back for the Liberal Democrats. A big majority of 3,000 against a Nationalist tide."
Mr Rennie added: "It's a tremendous result for the Liberal Democrats in North East Fife."
In his victory speech, he said it had been a "positive, uplifting campaign" and added: "I've had the time of my life in this campaign."
From BBC Scotland's Nick Eardley
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Scottish Conservative leader Ruth Davidson has won the Edinburgh Central seat from the SNP.
Ms Davidson, who had previously been elected to Holyrood through the list, beat SNP candidate Alison Dickie by 610 votes.
She received 10,399 votes, an increase of 15% from 2011 when the Conservatives came fourth.
Speaking after her victory, Ms Davidson said: "I promise I will serve to the very best of my ability."
She told BBC Scotland that all the indications were that the Tories had "edged ahead" of Labour in the battle to become Scotland's main opposition."
"This is indicative of how voters can change and make a considered choice," she said of her victory in the Edinburgh Central seat.
"I am under no illusion that everybody who voted for me in that seat is a true-blue, dyed-in-the wool Tory, and neither are they in places up and down Scotland.
"They are people who want us to do a very specific job, and that it is to hold the SNP to account
From BBC Scotland's Huw Williams
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
We now have the list votes for 13 constituencies in Scotland.
To date the Con vote is up by 10 points and the Labour vote down by 8.
If this pattern continues then the Cons should emerge ahead of Labour in the new parliament.
Meanwhile the Greens' advance is running at 2 points which suggests they're heading for about 6% of the vote.
While this should see the party win a number of extra MSPs it may be touch and go as to whether the Greens manage to overtake the Lib Dems.
From BBC Scotland's Morag Kinniburgh
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
SNP leader Nicola Sturgeon holds Glasgow Southside.
The SNP, Conservatives and Liberal Democrats have enjoyed success but Labour's vote has fallen in the Holyrood election.
Labour has lost eight seats to the SNP and a further two to the Conservatives, who have also picked up two seats from the SNP.
Nicola Sturgeon was in confident mood as she arrived at the Glasgow count
Liberal Democrat leader Willie Rennie won Fife North East from the SNP
The Conservative wins included a surprise victory by party leader Ruth Davidson in Edinburgh Central .
The Liberal Democrats have also won two seats from the SNP.
Kezia Dugdale must rely on the regional list if she is to return to Holyrood
Scottish Conservative leader Ruth Davidson won a surprise victory over the SNP in Edinburgh Central
From BBC Scotland’s Fiona Walker
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
From BBC Scotland's Nick Eardley
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Professor John Curtice
Polling expert
This is Labour's one gain from the SNP of the night - in the area which contains the Edinburgh South constituency which was the only constituency that the SNP won 12 months ago.
Note also Jackie Bailie's successful defence of Dumbarton despite the fact that the Scottish Labour party came out against the renewal of Trident, whhic is based in the constituency.
From BBC Scotland's Morag Kinniburgh
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
From BBC Scotland's Nick Eardley
Allow X content?
This article contains content provided by X. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read X’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.