At least four people were killed in a shooting on Friday in the Canadian city of Fredericton, police said.

The incident took place in the capital of New Brunswick. Police officials advised residents of the area to “stay in their homes with doors locked at this time for their safety”, the BBC reported.

“The public should avoid the area. We will provide more details as soon as we can,” police tweeted.

A local TV reporter said he heard four gunshots. Video footage of the scene was posted on Twitter, showing emergency vehicles outside a house.

This is the third violent event in the last few months.  The last event happened on 23 July in which One woman was killed and 14 people were injured after a lone gunman walked along Toronto’s busy Danforth Avenue, randomly shot at pedestrians before opening fire on crowded restaurants, Canadian authorities said.

Toronto Police Chief Mark Saunders said the man used a handgun, but refused to speculate on a motive. The mass shooting came just three months after a random van attack in the city killed 10 people.