Former Coronation Street actress Tracy Brabin has been selected as the Labour candidate in the Batley and Spen by-election, which was called following the death of Jo Cox MP.
The West Yorkshire seat has been vacant since Mrs Cox was shot and stabbed to death in June.
Ms Brabin was born in Batley and worked with Mrs Cox on her campaign to save the town's library.
The TV star played Tricia Armstrong in Coronation Street in the 1990s before appearing as Roxy Drake in EastEnders.
More recently, she plated vicar Ashley's love interest Carole in Emmerdale.
She has also written for shows including Family Affairs, Tracy Beaker and Hollyoaks.
Ms Brabin said: "I'm humbled and privileged. Obviously no-one wanted this, but I'm the only person on the ballot paper that can stand up for everyone in Batley and Spen.
"I'm really looking forward to meeting everyone in the constituency and, hopefully, winning their trust.
"I'm hoping people will put party politics to one side and we can work together."
The Conservatives, Liberal Democrats and Ukip have said they will not field a candidate in the by-election out of respect for Mrs Cox's memory.
The by-election will be held on October 20.