Ian Murray MP has been appointed as Scottish Labour's Westminster spokesman after resigning from Jeremy Corbyn's shadow cabinet.

Kezia Dugdale, the party's leader in Scotland, announced the move as she said the chances of a UK Labour government under Mr Corbyn's leadership were "slim at best and non-existent at worst".

Mr Murray, Labour's only MP in Scotland, was replaced as shadow Scottish secretary by English MP Dave Anderson after stepping down at the end of June.

Ms Dugdale said: "I'm pleased to welcome Ian to my shadow cabinet. As Scotland's only Labour MP, Ian has a crucial role to play in representing Scotland's interests at Westminster and working to strengthen our party as he has done since he was re-elected last year."

Mr Murray, Labour's MP for Edinburgh South, said: "I look forward to continuing to play my part in rebuilding the fortunes of the Scottish Labour Party.

"As we look towards the local government elections and the next UK general election, we have to do all we can to strengthen our party, reach out to communities all across Scotland and speak to the vast majority of working people who need a Labour government in Scotland and across the UK.

"Following the EU referendum vote, we also need to stand up for those people who voted to remain and understand why over a million Scots voted to leave the EU."

Writing in her Daily Record newspaper column, Ms Dugdale said while she respected Mr Corbyn "a great deal" she could not see how he could do his job after losing the confidence of his MPs.

She said: "The millions of people across the UK suffering at the hands of the Tories - those bearing the brunt of the cuts, those fearful for their jobs because of Brexit and those EU nationals who have no idea whether or not they can stay in their adopted homeland - aren't getting the official opposition they deserve.

"To be blunt about it, the Labour Party aren't functioning as they should right now."

She added: "With Jeremy as leader, the chances of a UK Labour government in the near future are slim at best and non-existent at worst.

"The choice Labour members and supporters have at this leadership election is whether we want to be a party of government with real policies who can change people's lives or a party purely of protest who can say what they are against but not what they are for."

The leadership challenge from MPs Angela Eagle and Owen Smith has exposed divisions in the Scottish party, with Ms Dugdale's deputy leader Alex Rowley among those backing Mr Corbyn.