Labour will face a potentially difficult new by-election this summer after an MP in a Tory target seat won a job outside Westminster.

Tracy Brabin was today elected as West Yorkshire's first mayor, beating Tory Matt Robinson with 310,923 votes to 209,137.

Because the role involves responsibilities for the police, the former Coronation Street star will stand down as MP for Batley and Spen - where she's sat since previous MP Jo Cox was murdered in 2016.

That means a by-election is likely as soon as mid-June, though Labour will have some control over exactly when it takes place.

The West Yorkshire seat was won by Ms Brabin in 2019 but her majority shrank from around 9,000 in 2017 to just 3,525.

West Yorkshire’s first ever mayor
West Yorkshire’s first ever mayor

That is almost the same majority as fellow 'red wall' seat Hartlepool, whose 3,595 majority was demolished by the Tories this week.

Like Hartlepool, the area backed Leave in the 2016 referendum.

MP and former soap star Tracy Brabin has won the job of West Yorkshire mayor
MP and former soap star Tracy Brabin has won the job of West Yorkshire mayor

Unlike Hartlepool, the Brexit Party performed poorly in 2019 - suggesting the Tories would have more of a struggle to claim the seat. That said, independent Paul Halloran did won 6,432 votes in Batley and Spen on a ticket of a "clean Brexit", law and order, and restoring a full local A&E department.

Barry Sheerman, MP for nearby Huddersfield, told the Financial Times: "It will be a challenging by-election, as by-elections always are. I think the party is aware of that, but I think as long as we get the right candidate it is winnable.”