The SNP suffered the biggest loss of MPs in its history yesterday after the party surrendered 38 seats.
Scottish Labour overturned almost a decade of SNP dominance in Scotland’s Westminster seats, taking a majority of constituencies.
Anas Sarwar’s party tore across the country’s central belt, mirroring the success of the UK-wide party and sweeping the SNP out of Glasgow and Edinburgh.
He said he was ‘absolutely delighted’ with his party’s performance and thanked the people of Scotland for ‘putting their faith and trust in the Scottish Labour Party’.
‘I understand their desire for change, I know there’ll be a huge sigh of relief that we finally ended 14 years of total chaos and failure,’ he added.
SNP leader John Swinney shows the strain on a devastating night for his party
Nationalist supporters gather round Alison Thewliss, who lost the Glasgow North seat to Labour
A worried SNP Westminster leader Stephen Flynn at the election count in Aberdeen
The Scottish Labour leader conceded it would ‘not be an easy road’ for a Labour government but the party would ‘get to work straight away’.
With three seats left to declare, his party went from one seat at the last General Election to 37 as the SNP fell from 48 to nine.
First Minister John Swinney pledged a period of ‘soul searching’ after what he described as a ‘very poor’ performance for the SNP.
Outgoing Scottish Tory leader Douglas Ross also failed in his bid to return to Westminster.
‘It’s a very poor result for the SNP tonight,’ Mr Swinney told the BBC.
‘There will have to be a lot of soul searching as a party as a consequence of these results that have come in tonight.’
Mr Swinney said the SNP has to be ‘better at governing on behalf of the people of Scotland’, adding that the party was not ‘winning the argument’ on Scottish independence.
He said: ‘Although we’re going to have a bad election result tonight, I still believe in my head and in my heart that Scotland will be better off as an independent country.
‘But we’re obviously not winning that argument with the public to make that a priority at this moment, so we’ve got to think long and hard about how we address that question and I don’t think that in the early hours of the morning after a General Election I can give you the definitive answer to what we do in that circumstance.’
But Mr Sarwar said the First Minister ‘has got a lot of reflecting to do on a lot of things’ after the party’s dismal performance.
‘He spent the entire six weeks attacking the Labour Party because it seems the only person more depressed at the thought of the Tory Government ending and the Labour government was John Swinney and the SNP,’ he said.
‘You can see the verdict of the Scottish people, both to his approach in this election campaign but also the SNP’s approach to Government, where they have failed far too many people.’
Tearful Alison Thewliss after losing the Glasgow North seat at the Emirates Arena in Glasgow
Delighted Tory Harriet Cross with beaten SNP candidate Richard Thomson at the Aberdeen count
The SNP's Anne McLaughlin, who lost Glasgow North East to Labour,, with her partner Graeme Campbell at Thursday night's count
Mr Ross sought election to the Aberdeenshire North and Moray East seat in place of former MP David Duguid, who was barred from standing by party bosses due to ill health.
His decision - which reversed an announcement he would not seek re-election to Westminster - was met with criticism from opponents and some within his own party.
Speaking to the BBC, the party leader suggested the Reform UK vote had handed the SNP the seat.
The party’s candidate Jo Hart came third with 5,562 votes, while Mr Ross trailed his SNP rival by less than 1,000.
Scottish Green co-leader Patrick Harvie thanked people who voted for his party.
‘We have established our party as the third political force in Glasgow and have broken new ground across the country,’ he said.
‘These results are an important springboard for the Scottish Greens and show that we are well on track for big gains as we approach the next Scottish election in 2026 and the local elections in 2027.’