Ukip have selected East Midlands MEP Roger Helmer to run in the Newark by-election triggered by the recent resignation of Tory MP Patrick Mercer.
Mr Helmer, who defected from the Conservatives in 2012, has come under fire for remarks about homosexuality.
He has said that some people find same-sex relationships "distasteful, if not viscerally repugnant".
Ukip leader Nigel Farage also rebuked him for writing a blog that appeared to draw comparison between same-sex marriage and incest.
However Mr Helmer has insisted he is "liberal and tolerant" about homosexuality and has "no interest in telling consenting adults what they may or may not do".
More top news
Armed police were out in force as runners competed in the largest public event in the city since Monday's terror attack.
Taliesin Myrddin Namkai Meche, 23, was stabbed along with Rick Best, 53, when they tried to stop a racist attack on two Muslim girls.
The shadow home secretary, 63, said she worked in the Home Office for nearly three years when she was a trainee.