STEPHEN Flynn has been confirmed as the SNP Westminster leader, The National can reveal.

The group's deputy leader will now be Pete Wishart, while Kirsty Blackman will serve as chief whip.

It comes after the party saw sweeping losses to Labour across Scotland as votes cast in the General Election were counted up last week.

The SNP lost all of their seats in Glasgow and Edinburgh, with the party now sending just nine MPs to Westminster

READ MORE: Manhunt for crossbow suspect continues as police name victims

A number of big names lost their seats including the likes of Alison Thewliss, Tommy Sheppard and Joanna Cherry.

Also joining the SNP frontbench are Seamus Logan, Dave Doogan, Stephen Gethins, Brendan O’Hara, Chris Law and Graham Leadbitter.

Party spokesperson roles are yet to be confirmed. 

The announcement comes after some of the new cohort of Scottish MPs were sworn in to the House of Commons.

Following the General Election, Scotland’s 57 constituencies are represented by 37 Labour MPs, nine SNP MPs, five Scottish Conservative MPs and six Lib Dem MPs.

Labour’s sweeping gains meant the Commons welcomed many who had not been MPs before.

However some are returning to Westminster after previous terms as MPs, including Lothian East MP Douglas Alexander (above), who served in Tony Blair and Gordon Brown’s governments.

He has now been appointed as a minister in the Department of Business and Trade in Keir Starmer’s government.

Blair McDougall, who is prominent in Scottish politics for his role as campaign director for the Better Together campaign during the 2014 independence referendum, was also elected as the MP for East Renfrewshire.

Scottish Secretary Ian Murray was one of the first MPs to be sworn in, choosing to take the affirmation.

Meanwhile, the Scottish Lib Dems welcomed three new MPs to their ranks.

These include Angus MacDonald, whose constituency of Inverness, Skye and West Ross-shire was the last to be declared after the election.

Before the swearing-in ceremony began, leaders of the Westminster parties gave short speeches acknowledging the election of Speaker Lindsay Hoyle.

SNP Westminster leader Stephen Flynn said: “I wish to begin by welcoming all new members to the chamber, in particular those members from Scottish constituencies.

“There’s probably a few more new members from Scottish constituencies than I would like to have seen, but I do look forward to working constructively with you to deliver in the best interests of the people that we are all so fortunate to represent.”

He also referred to his previous disagreements with speaker Sir Lindsay Hoyle over the SNP’s opposition day in February.

The Aberdeen South MP was furious with Hoyle over the way he handled the SNP’s debate on Gaza.

But addressing the newly re-elected Speaker on Tuesday, Flynn made clear that he bore no grudge.

He said: “I think it’s safe to say that me and you didn’t always see eye to eye during the course of the last parliament, but in politics and in life, I think it’s important to let bygones be bygones and to focus on the future.”