A policeman has been shot while defending a synagogue from a gunman in Canada as members of the Jewish community marked Yom Kippur.

Police officer Jeff Smith, who was stationed outside the synagogue in an unmarked car, exchanged fire with Sean Ward, 29, near the Sons of Jacob synagogue in Belleville, Ontario, on Sunday night.

Up to 30 bullets were fired in the shoot-out just after 7pm about 50 yards from the entrance to the synagogue.

Ward, from nearby Quinte West, was left with life-threatening injuries and Police Officer Smith was seriously wounded and remains in a critical but stable condition in intensive care.

Douglas Lobel, who was inside the building with about 25 others at the time, said: “This officer was a hero who saved our lives. If this officer wasn’t there, I don’t know what could have happened.”

Police point to a shotgun left on the ground outside the Sons of Jacob Synagogue

Police point to a shotgun left on the ground outside the Sons of Jacob Synagogue – Reuters/Patrick Doyle

Norm Weddum, the synagogue’s president, told CNN he was ushering congregants into the main prayer room to begin Yom Kippur services when the shots rang out, spraying bullets through the stained glass windows.

He said: “That’s when we heard it again – ‘bang, bang, bang’ – and they were very loud this time so we realised it was definitely shots being fired.

“That’s when we ran back into the auditorium of the synagogue, closed the doors behind us so as to not leave a visible target and we hit the floor.

“Literally everyone went down. I yelled for everyone to get on to the floor and the shots continued for a few more seconds, and then it was basically over.”

He said Belleville’s Jewish community was unable to gather for Yom Kippur, the holiest period in the Jewish calendar, on Monday because the synagogue remained under lockdown following the incident.

Sheri Meeks, Belleville Police Service’s deputy chief, said Police Officer Smith had served with “distinction” since December 2013 and was a “highly respected member of the emergency response team”.

Jeff Lieberman, president and chief executive of the Jewish Federation of Winnipeg, said: “It’s devastating to hear that a synagogue was targeted in Canada on the holiest day of the year for Jews, where people should be able to go and pray.

“We’re very fortunate that the police officer was a hero who stopped this from becoming a real tragedy.”

An SUV parked near the scene of the shooting was hit by bullets

An SUV parked near the scene of the shooting was hit by bullets – The Canadian Press/Ian MacAlpine

Mark Carney, Canada’s prime minister, condemned the shooting in Belleville, about 120 miles east of Toronto.

He posted on X: “Jewish people must be able to worship safely. To live free, open, proud Jewish.”

In June, Mr Carney announced the launch of a federal advisory council to combat anti-Semitism amid a surge in hate crimes towards Jews.

Doug Ford, the Ontario premier, condemned the shooting in a post on social media, saying the Jewish community had “every right to gather and worship safely and without fear”.

Police have not established a motive for the incident which has yet to be classified as a “hate crime” but Kristy Dennette, a spokesman for Ontario’s special investigations unit, which examines shootings involving police, said that “common sense” suggested the gunman intended to fire at the synagogue.

Police said there was no ongoing threat to public safety and asked people to avoid the area while officers investigated.

Try full access to The Telegraph free today. Unlock their award-winning website and essential news app, plus useful tools and expert guides for your money, health and holidays.