The Scottish National Party has won the Aberdeen Donside by-election, but with a greatly reduced majority.
Mark McDonald won the seat after polling 9,814 votes, just over 2,000 more than the Labour candidate who was his nearest rival in the contest.
However the SNP's majority fell by more than 5,000 votes from the result in the 2011 Scottish Parliament election.
- Mark McDonald (SNP) 9,814
- Willie Young (Labour) 7,789
- Christine Jardine (Liberal Democrat) 1,940
- Ross Thomson (Conservative) 1,791
- Otto Inglis (UKIP) 1,128
The Scottish National Party has held Aberdeen Donside in the by-election, with Mark McDonald elected as the MSP for the constituency.
Scotland has generated more tax revenue per head than the UK as a whole every year for the last three decades, SNP deputy leader Nicola Sturgeon will tell her party today.
Speaking at the SNP conference in Inverness, Sturgeon will say that tax receipts from Scotland were £1,676 higher per head in comparison to the UK as a whole in 2011/12.
"Scotland can afford to be independent and don't let anyone tell you different.
"For every one of the last 30 years we have generated more tax revenue per head than the UK as a whole. Every single one of the last 30 years.
"If there is one fact I want you to remember over the next 18 months and tell everyone you know, it is this one.
"During those 30 years, oil prices will have gone up and they will have come down.
"The economy will have grown and it will have been in recession.
"But one fact has remained constant. In every single one of those 30 years tax receipts per head of population in Scotland have been greater than tax receipts per head of population in the UK.
"How dare any unionist politician say that Scotland doesn't pay her way."
First Minister Alex Salmond will set out his case for why Scotland would be better off if it was independent from Britain in his speech at the SNP spring conference today.
The event comes just two days after he said that voters in Scotland will decide the country's future in an independence referendum to be held on September 18 2014.
Mr Salmond promised the conference would "set out the 'why of independence' to the people - what won't happen in an independent Scotland will be getting dragged into illegal wars, having Trident nuclear weapons dumped on the Clyde for another 50 years, or the imposition of bedroom taxes.
"And what will happen will be the mobilisation of the human and natural resources of Scotland to build a prosperous economy and just society."
Two MSPs have quit the Scottish National Party over the decision to remain linked to NATO.
With around two-thirds of Scotland's 32 authorities declared, both the SNP and Labour had achieved some gains.
The SNP has taken the largest number of seats but Labour has returned to power in Scotland's largest local authority, Glasgow City Council, despite a high-profile SNP campaign.
Labour leader Gordon Matheson was re-elected, and immediately afterwards declared that the SNP "juggernaut" had rolled into a ditch.
Meanwhile, the SNP celebrated winning their first majority councils under the single transferable vote (STV) system - in Dundee and Angus.
The Liberal Democrats had one of their worst results in Edinburgh, where their previous lead was reduced to just three councillors. The former city council leader Jenny Dawe lost her seat.
Labour has become the biggest party in Scotland's capital.
Follow the Scottish election results with STV.
Labour has returned to power in Glasgow with a majority of councillors, despite a high-profile SNP campaign.
The party passed the 40 seats required with just one ward left to be declared.
Labour MPs in Scotland have been reacting to their party's gains in local elections. Glasgow is a key battleground between Labour and SNP, and it looks possible that Labour could gain an overall majority once more. Labour won back Renfrewshire council from the SNP.
Follow the local elections in Scotland with STV.