Four people were arrested Tuesday afternoon after alleged threats were made against a student at Deux-Montagnes.

Police told CTV that a student at Polyvalente Deux-Montagnes called them after a serious threat was made against him by someone on Snapchat.

"When the person received that threat through Snapchat, he took it upon himself to verify the Facebook page of this person, and when going through this Facebook page was able to locate pictures of this person with firearms," said Christopher Harding, Deux-Montagnes Regional Police.

"He announced that to the principal in fear that this person was going to come to the school, perhaps with a gun."

The principal then notified police during Tuesday's lunch hour, prompting police to make sure nobody went in or out.

"Logistics-wise it would have been difficult for us during the first phase of the investigation to ensure everybody's security and that's the reason why we took it upon ourselves to request that the lunch hour be spent inside the school with a restricted access," said Harding.

Classes went on as normal while students and staff stayed inside and police patrolled the perimeter.

"During that time the person actually showed up to the school, to the outside perimeter, via taxi with three of his friends," said Harding.

"We proceeded as if the individual was armed based on the photos on their Facebook page."

Police arrested the four people, but a search of them and the car turned up no firearms.

They were then taken into custody for further questioning.

Police said the suspect and the target knew each other "through girlfriends and things like that."

"The message that was sent through Snapchat had no reference to firearms," said Harding. "It was a message that I'm coming to the school to take care of your case. If I don't see you at school I'm going to take care of you on the streets."

The school issued a short statement on its website saying there is no danger to students or staff.