Kim Leadbeater has narrowly won the Batley and Spen by-election, with the Labour candidate defeating her Conservative rival by just 323 votes.
The outcome means that Leadbeater will now represent the seat previously held by her sister Jo Cox, who was murdered there in 2016. The vote was triggered after the previous Labour MP for the seat, Tracy Brabin, became West Yorkshire's first elected mayor in May.