The incumbent MSP Gordon MacDonald has increased his majority from roughly 2,500 votes to 4,000 – after the surge in unionist tactical voting failed to have an effect amidst a record turnout.
The SNP’s candidate received 16,227 votes, up from 13,181 in 2016, while the Conservative candidate Gordon Lindhurst finished second with 12,330 votes, up from 10,725 in 2016.
In third, the Scottish Labour candidate Lezley Marion received 6,998 votes, and in fourth, the Scottish Liberal Democrats candidate Fraser Graham received 2,213 votes.
In last place, the Scottish Family Party candidate Richard Lucas received 462 votes.
In total, 38,347 votes were cast by Edinburgh Pentlands residents – a turnout of 64.89 per cent.
Speaking after his victory, Mr MacDonald said: “I’m deeply honoured to be returned for the third time – something no other party has achieved since devolution began in this constituency.
“When I was elected in 2011, I was determined to provide the best service I could for my constituents, no matter how they voted - I could not deliver that service without the support of my staff. I thank you all for your hard work on behalf of my constituents.
“Scotland is on a journey and today the people of Edinburgh Pentlands have spoken. The turnout in the constituency is the highest since 1999, and the number of votes for the SNP is the highest ever.
“What is more remarkable is that this was achieved in atrocious weather, which would normally reduce turnout, but the people wanted their voice heard.
“This included young voters voting for the first time, new Scots, and asylum seekers given a voice. You have all spoken loud and clear - we will have that referendum.
“It is the democratic wish of the people that they should have a choice over Scotland’s future.
“When the time is right we will complete that unfinished business that we failed to complete in 2014.
“The world is watching and Scotland wants to join the family of nations - it’s just a matter of time.”