Mr Murray’s appointment was considered a formality as he is the only Labour MP in Scotland following the 2019 general election.

But under Mr Corbyn, the role was twice filled by English MPs who also held the Northern Ireland portfolio, in a snub to Scotland’s most senior Labour MP.

The appointment suggests Labour will take a harder stance against a second Scottish independence referendum than under Mr Corbyn, who said he would agree to a request from the Scottish Parliament for the power to hold indyref2.

Sign up to our daily newsletter The i newsletter cut through the noise Sign up Thanks for signing up! Sorry, there seem to be some issues. Please try again later. Submitting...

Mr Murray is also expected to work with the new Chancellor of the Duchy of Lancaster Rachel Reeves on Labour’s constitutional offer, with the Edinburgh South MP having supported a move towards a more federal UK constitution.

Confirming his top team, Mr Starmer said: “I’m proud to have appointed a Shadow Cabinet that showcases the breadth, depth and talents of the Labour Party.

“This is a new team that will be relentlessly focused on acting in the national interest to respond to the coronavirus pandemic and rebuilding Labour so that it can win the next election.”