A heavily armed student opened fire and wounded four people Thursday at a high school in the southern French city of Grasse, officials said.

Six others were slightly injured in the clamor to escape the school building, officials said.

The student, whose identity was not released, was subsequently arrested, a spokesman for France’s National Police confirmed to The Washington Post.

An Interior Ministry spokesman, speaking on French television, said the suspect is a 17-year-old male student at the Lycée Alexis de Tocqueville in Grasse. He was in possession of a rifle, two handguns and two grenades when arrested, the spokesman said.