Five people were killed and several others injured as a gunman opened fire during a mass at a Catholic cathedral in Campinas outside of Brazil’s most populated city, Sao Paulo. The perpetrator then turned the gun on himself.

WARNING: DISTURBING PHOTOS

The man, who was reportedly armed with two guns, made his way into the place of worship on Tuesday.

He opened fire indiscriminately at churchgoers, killing four of them and injuring nine others, the police said.The attacker then used his own gun to commit suicide in front of the altar, local media reported.

A witness told GloboNews channel:

It was scary. He came in and started shooting randomly at people. They were all praying.

The attack caused panic, with images on Twitter showing dozens of people fleeing the church.

The police said neither the victims nor the perpetrator have yet been identified, with the motives for the attack also remaining unclear.

Think your friends would be interested? Share this story!