PARIS (AP) -- A 16-year-old student who had troubled relations with his peers opened fire at a high school in southern France on Thursday, wounding at least two other students and the principal who tried to intervene, officials said.
Police moved into the Alexis de Tocqueville school in the town of Grasse -- the country's picturesque perfume capital -- and quickly arrested the still-armed suspect, identified by the Interior Ministry spokesman as Killian Barbey.
The government minister for victims' affairs, Juliette Meadel, told BFM television there were 4 people shot --three students and the high school principal-- and 10 other victims.
The Grasse prosecutor said some of the victims were suffering from "emotional shock." None of the injuries was considered life threatening.
Prosecutor Fabienne Atzori said the young man -- armed with a rifle, several pistols and a small grenade -- entered a classroom then left, "not finding the person or people he was searching for."
"The motivation of the student appears linked to bad relations with other students in this high school in which it appears he had some difficulty integrating," Atzori said.
She said there was no reason to suspect the shootings were terrorism-related, "whatever the origin of the terrorist enterprise." A national police official said earlier there did not appear to be any other suspects.
Investigators were now trying to find out where did the suspect get the arms, she said.
Officials variously gave 16 and 17 as the age of the suspect. His Facebook page indicates he is 16.
After the suspect started shooting, students alerted the principle, who was wounded while "courageously" intervening, the prosecutor said. Some students only discovered shrapnel in their bodies once home, she said.
Education Minister Najat Vallaud-Belkacem, who visited the school Thursday, called it "the crazy act of a fragile young man fascinated by firearms ... We just missed the worst."
The suspect's Facebook is filled with violent or gory images.
During the attack, some students hid at the school and others were evacuated. A police helicopter circled overhead in what is normally a relatively quiet corner of France.
Police cordoned off the area and worried residents gathered outside in the town, which is 40 kilometers (25 miles) from the southern city of Nice, site of last year's Bastille Day terror attack that killed 86 people.
The president of the region, Christian Estrosi, said the principal suffered an arm wound and told him that after being alerted to the presence of the armed student, "he tried to interpose ... to try to calm him, and unfortunately he didn't succeed."
Student Charlotte Camel, 18, told The Associated Press she was in the school library when "a teacher ran into the room shouting, 'There's someone with a gun, go hide!' That's what we did from the very beginning."
"We all very much panicked. I thought a lot about the other students in my class who were in class and I wandered if they were ok. I thought about my friends and the teachers too," Camel said.
The attack came amid France's state of emergency, a response to a string of deadly Islamic extremist attacks over the past two years.
While no terrorism link has been identified, "all this justifies the state of emergency," President Francois Hollande said, adding that it would remain in place until July 15, as planned.
The government sent out an alert warning of an attack after police reported that shots were fired, but later lifted it. The alert is part of a system implemented by the government after the deadly November 2015 attacks in Paris.
___
Angela Charlton and Lori Hinnant in Paris, Alexander Turnbull in Grasse, and Raphael Satter in London contributed.