A Conservative candidate contesting murdered MP Jo Cox's former seat blamed a "tiring day" for telling a hustings: "We've not yet shot anybody so that's wonderful."
Ann Myatt has apologised for her "ill-judged" comments which left Labour's Tracy Brabin, a friend of Mrs Cox, visibly shocked and members of the audience gasping and groaning.
Mother-of-two Mrs Cox, 41, was shot and stabbed by neo-Nazi Thomas Mair in her Batley and Spen constituency just days before last year's EU referendum.
Ms Myatt, in a statement, said: "I wholeheartedly apologise for my ill-judged remarks at the hustings and for any offence they caused.
"I said sorry at the time and would like to apologise again for my comments, which were out of character and came at the end of a tiring day."
Video of the hustings obtained by the Daily Mirror and Mail Online shows Ms Myatt addressing integration and saying: "This sort of evening is absolutely first-rate because we have here people of all faiths, we have here people from different parts of the community and we've not yet shot anybody so that's wonderful."
Former Coronation Street star Ms Brabin is seeking re-election after replacing Mrs Cox following a by-election last year.
Ms Brabin's maiden speech in the House of Commons was applauded by MPs after she paid tribute to her friend and "inspiration" Mrs Cox.
She struck a defiant tone throughout, telling the Commons: "Batley and Spen will not be defined by the one person who took from us, but by the many who give."