More than three-quarters of Labour MPs in Scotland voted to leave it in a referendum held in May, leaving Labour leader Jeremy Corbyn to face a difficult choice over whether to stand down or continue his leadership.

The vote, the first time in the UK to give an unequivocal ‘No’ to EU membership, was also a turning point in Labour’s political fortunes, with a large number of the party’s most prominent MPs publicly saying they would be voting against Labour’s leadership.

But the SNP’s leader Nicola Sturgeon said the result was a “huge victory for the SNP”.

“This was an extraordinary and historic result.

We have to continue the work that we’re doing with our Scottish MPs, and we will be working closely with our partners to get them to vote for Brexit in the coming days and weeks,” she said.

Ms Sturgeon, who led the Scottish government in the referendum, said it would “send a very clear signal to the rest of the world that Scotland does not want a second referendum on EU membership”.

“I believe that this decision is the right one for Scotland and the rest [of the UK],” she said in a statement.

In the Scottish parliament, the SNP has also won two of its five seats, with the first of those secured on Tuesday, and it is expected to win a third in the next few days.

It was the third time in less than two months that a Scottish Labour MP had voted to remain in the EU.

Last week, Kezia Dugdale, who is standing for re-election to Westminster, told the BBC she believed the result had shown the need for the UK’s EU membership.

“The public in Scotland have spoken and they are saying that we are the most independent people on the planet, and that the only way we are going to get to the single market is by leaving,” she told the broadcaster.

“We are in the process of negotiating the best deal for Scotland.

And I think we should be making that decision in the most open, transparent way possible.”

Scottish Labour MP for Gordon in Edinburgh, Ruth Davidson, said the vote had confirmed what the public had said to her.

“I think it is clear to anyone who has followed the campaign that the public in the last week and a half, has really put their stamp on the Brexit campaign,” she tweeted.

“They have made it clear that they want the best for Scotland, and want to be part of a reformed EU.”

But Ms Davidson said her party’s decision to stand by her leader would not change her view on Brexit.

“Our view on this issue is the same as it was before.

We are not going to let the referendum happen,” she added.”

If we were to vote to leave we would be leaving.

That’s the view of our Scottish membership and it’s the position of our leader.”

But Scottish Labour said the SNP was being “very selective” about what it did in the run-up to the vote.

“It’s about how we do it in the weeks ahead,” said Ms Davidson.

“If you have a party that is so focused on the referendum that you are going after it, I think that’s just very selective.”

You have a lot of people who are campaigning on this election who have no idea what’s happening in the negotiations.

“Scottie McKenzie, the Scottish Labour leader, said he would be taking a “fairly close look” at the SNP “to see what our options are” as it prepares for the next election.