Scottish Labour leader Jack McConnell has held onto his Scottish Parliament seat but on a reduced majority.
The defending first minister won the Motherwell and Wishaw seat with 12,574 votes but he saw his majority reduced from 9,259 to less than 6,000.
The SNP's Marion Fellows came second, with 6,636 votes, although there was a 6.88% swing to the Nationalists.
Speaking afterwards, Mr McConnell said it had been the toughest election in recent Scottish history.
He said: "We have won the debate. It remains to be seen tonight whether we have won the votes in individual constituencies.
"Tonight is the culmination of the toughest, most hotly-contested election in recent Scottish history.
"But whatever the result, I am sure the people of Scotland will be relieved that it is over, one way or the other."
He said a Labour government would be on the side of the many, not the few and speak up for those who needed a strong voice.
"Since devolution, Scotland has had a spring in its step again," said Mr McConnell.
"We have made the parliament work and it has been working for the people of Scotland."