At least three people including an adolescent girl were killed and 11 others wounded Friday when a 16-year-old shooter opened fire on two schools in southeastern Brazil, officials said.
Authorities in the town of Aracruz, in Espirito Santo state, said the shooter had opened fire on a group of teachers at his former school Friday morning, killing two people and leaving nine others wounded.
He then left that school -- a public primary and secondary school -- and went to a nearby private school, where he killed an adolescent girl and left two other people wounded, officials said.
Authorities have arrested the shooter, said Governor Renato Casagrande, who declared three days of mourning in the state.
"He was a student at (the first) school until June, a 16-year-old minor. His family then transferred him to another school. We have information he was undergoing psychiatric treatment," Casagrande told a news conference.
He said some of the survivors' lives remained at risk from their wounds.
"We are rooting and praying for them to recover," he said.
Security camera footage aired on Brazilian media showed the shooter running into the school, dressed in military-style camouflage and brandishing a gun. He then sprinted through the hallways, sending staff fleeing in terror as he began firing shots.
Investigators said he had a swastika on his fatigues.
Officials said the shooter, a policeman's son, used two handguns in the attack, both registered to his father -- one his service firearm, the other a privately registered weapon.
Casagrande said the boy appeared to have planned the attack carefully, breaking in through a locked door and skirting the school's security guard.
He then entered the teachers' lounge -- the first room he came to -- and opened fire, the governor said.
"He was looking to shoot people. He opened fire on the first people he came across," he said.
Investigators could be seen carrying victims' bodies in coffins and loading them in police trucks outside the school, which was cordoned off with crime scene tape, an AFP photographer said.
The town has a population of around 100,000 people.
School shootings are relatively rare in Brazil, but have been increasing in recent years.
Brazil's deadliest school shooting left 12 children dead in 2011, when a man opened fire at his former elementary school in the Rio de Janeiro suburb of Realengo, then killed himself.
In 2019, two former students shot dead eight people at a high school in Suzano, outside Sao Paulo, then also took their own lives.
Brazilian president-elect Luiz Inacio Lula da Silva called the latest shootings an "absurd tragedy."
"I was saddened to learn of the attacks," he wrote on Twitter.
"All my solidarity to the victims' families... and my support to Governor Casagrande for the investigation and assistance to the two school communities."
Lula, who was previously Brazil's president from 2003 to 2010, will take office on January 1 after defeating far-right President Jair Bolsonaro in elections last month.
He has been sharply critical of Bolsonaro's dramatic curbs on gun-control laws.
Since ex-army captain Bolsonaro became president in 2019, the number of registered gun owners in Brazil has more than quintupled, from 117,000 to 673,000, boosted by a series of presidential decrees relaxing regulations on firearms and ammunition.
Public security expert Bruno Langeani of research institute Sou da Paz told AFP the outgoing administration's policies had made such attacks more likely.
"The increase in availability of firearms in recent years promoted by the Bolsonaro government facilitates this kind of episode," he said.