A 36-year-old man is dead after a confrontation with provincial police early Sunday morning in the town of Saint-Félicien, about 280 kilometres north of Quebec City.
Quebec City police have taken over the investigation.
Provincial police received a call about a man who was threatening people, Quebec City police spokeswoman Marie-Eve Painchaud said.
She said the man died after being shot at least once.
Painchaud said the man exited a home carrying a weapon, but she added it's too early to say what the weapon was.
Radio-Canada journalist Vicky Boutin, reporting from the town on Sunday, said the man was threatening a woman with a gun and when provincial police officers tried to intervene, he threatened them as well.
Two male neighbours told Boutin the man came to their house at around 11 p.m. Saturday with a gun and began threatening to kill them.
According to the two neighbours, they had a physical fight with the man. He then left, telling the neighbours he would kill them if they called the police, they alleged.
During the confrontation, police officers warned neighbours to stay away from windows and to hide in their basements.
Investigators went to the scene Sunday afternoon and to interview each police officer present during the incident.