A man has been arrested after trying to break into a Jewish school in Nice, France, while shouting insults about Jews.

Children of the Or Torah school in the southern French city were forced to hide in a safe space after security sounded the alarm system warning of the attempted intrusion.

The guard’s “quick action,” as Mayor Christian Estrosi called it in a statement, allowed police to arrest the man shortly after he fled. Neither the suspect nor the guard were named in the French media.

“I would like to acknowledge the cool-headed and courageousness of the guard,” Estrosi wrote after praising the police’s handling of the incident and condemning antisemitic violence and hate as “unacceptable.”

In March 2012, a jihadist terrorist broke into the Otzar Hatorah school in Toulouse and killed three children and a rabbi before escaping on a scooter. The killings prompted an overhaul of the security arrangements of Jewish institutions throughout France and beyond.