Calgary : Four men were shot at a cemetery just outside of Calgary, Alberta, following a funeral, Canadian police said, the Guradian has reported.

Sergeant Jack Poitras of the Royal Canadian Mounted Police said the shooting happened near Cochrane and the injured people were treated at hospitals in the city. A police spokeswoman at the scene said all had non-life-threatening injuries.

Police said there was a funeral at the cemetery and a group of people remained behind afterwards. Poitras said it appeared the shooting involved people who were in the group. Zouheir Osman, who is in charge of the cemetery, said a service for a 21-year-old man was taking place before the shooting. He said he left shortly before the shots were fired.

Osman said he did not believe the shooting had anything to do with the man being remembered at the Muslim funeral.

However, Imam Syed Soharwardy said he spoke with two people who attended the funeral and they suspect the shooting was gang-related.

“It did not seem to be a hate crime,” Soharwardy said. “It looks like it was a turf war or gang war or some type of revenge.” The funeral was for a Pakistani man named Hamza Nazir, said Soharwardy, who knows the family. He said he does not know the cause of the young man’s death. Despite police assuring the public there was no danger, a heavily armed police tactical team remained outside the Calgary Foothills hospital on Friday evening.