Liberal Democrat leader Jo Swinson has lost her seat to the SNP.

She failed to hold on to the Dunbartonshire East constituency, suffering a humiliating defeat just five months after being elected as leader of her party.

Ms Swinson won 19,523 votes to the SNP’s 19,672, losing by a margin of just 149. At the time of writing the Liberal Democrats actually gained votes in every seat in Scotland declared so far – other than their leader’s own.

She won the constituency by 5,339 votes in 2017 but it was a top target for the SNP this time around.

Even if she had held on, Ms Swinson was set to face calls to resign as party leader after a disappointing night for the Liberal Democrats, with the party forecast to win just 15 seats.

Big beasts lose their seats: Prominent MPs gone after election Show all 10 1 /10 Big beasts lose their seats: Prominent MPs gone after election Big beasts lose their seats: Prominent MPs gone after election Dennis Skinner - Labour Labour MP of 49 years Dennis Skinner lost his Bolsover seat to Conservative Mark Fletcher, losing 16% of the vote share PA Big beasts lose their seats: Prominent MPs gone after election Jo Swinson - Liberal Democrat Leader of the Liberal Democrats lost her Dunbartonshire East seat in a 6.8% swing to the SNP PA Big beasts lose their seats: Prominent MPs gone after election Anna Soubry - The Independent Group for Change Leader of The Independent Group for Change, formerly Conservative MP, Anna Soubry lost her Broxtowe seat, coming third behind the winning Conservatives and Labour PA Big beasts lose their seats: Prominent MPs gone after election Dominic Grieve - Independent Prominent Remain-backing MP Grieve lost the contest for Beaconsfield, coming second to the Conservatives, his former party AFP/Getty Big beasts lose their seats: Prominent MPs gone after election Luciana Berger - Liberal Democrat Luciana Berger lost the contest for Finchley and Golders Green, coming second to Conservative Mike Freer PA Big beasts lose their seats: Prominent MPs gone after election Laura Pidcock - Labour Prominent Corbyn ally Laura Pidcock lost her Durham North West seat to Conservative Richard Holden PA Big beasts lose their seats: Prominent MPs gone after election Chukka Umunna - Liberal Democrat Prominent anti-Brexit MP Chukka Umunna lost the contest for the Cities of London & Westminster, coming second to Conservative Nickie Aiken Getty Big beasts lose their seats: Prominent MPs gone after election Zac Goldsmith - Conservative Former candidate for Mayor of London Zac Goldsmith lost his Richmond Park seat to Liberal Democrat Sarah Olney PA Big beasts lose their seats: Prominent MPs gone after election Nigel Dodds - DUP Former leader of the DUP Nigel Dodds lost his Belfast North seat to Sinn Fein AFP/Getty Big beasts lose their seats: Prominent MPs gone after election Gareth Snell - Labour Labour MP Gareth Snell lost his Stoke-on-Trent central seat to the Conservatives PA

Speaking after the result was announced, Ms Swinson said: “For millions of people in our country, these results will bring dread and dismay and people are looking for hope.

“I still believe that we as a country can be warm and generous, inclusive and open, and that by working together with our nearest neighbours we can achieve so much more.

“Liberal Democrats will continue to stand up for these values that guide our liberal movement: openness, fairness, inclusivity. We will stand up for hope.”

She promised to make a further announcement about her future later on Friday.

Ms Swinson was one of a number of high-profile Liberal Democrats who failed to win their seats, including former Tory Sam Gyimah and former Labour MPs Luciana Berger and Chuka Umunna.

In a statement released early on Friday morning, the party said Ed Davey and Baroness Sal Brinton will become joint acting-leaders of the Liberal Democrats, with a leadership election set to take place in 2020.

"I want to thank Jo Swinson for her honest and fearless leadership of the Liberal Democrats," Baroness Brinton said.

"In the weeks ahead we will elect a new leader and our party will continue to be the rallying point for anyone who believes in a country where everyone has the chance to get on in life."

Earlier in the night, the Liberal Democrats’ House of Lords leader, Lord Newby, insisted that the general election result was not a disaster for his party.

He told Sky News: “Our vote share will have gone up, the number of seats will have gone up. Our view at the moment is that the position in Scotland for us is rather better than the poll suggests.

“Like everybody, we want a lot more votes and a lot more seats. We’re going to get some more votes and some more seats, at a time when the other party that’s been arguing on a Remain platform has completely collapsed. We have not completely collapsed – we’ve moved forward not as much as we’d wanted, by a very long way.”​

The exit poll suggested that the SNP is on course to increase its number of seats from 35 to 55.