A 13-year-old boy carried out a pre-planned gun attack on fellow pupils in a Belgrade school this morning, killing eight plus a security guard and wounding seven others, according to Serbian officials, prompting Serbia's president to announce tougher curbs on gun ownership.
Using two handguns that belonged to his father, he fired first at the guard and three girls in the hallway and then entered a history class and shot the teacher and classmates, police said.
The teacher and six pupils were hospitalised, some with life-threatening injuries.
Veselin Milic, head of Belgrade police, said the attacker had two guns and two petrol bombs and had planned everything carefully. "He even had ... names of children he wanted to kill and their classes," he told a press conference.
Police said a seventh-grade student had been arrested after confessing to the shooting.
Gun ownership is widespread in Serbia, which has witnessed several mass shootings over the past decade, and President Aleksandar Vucic said checks would be stepped up.
As Serbia prepared for three days of national mourning, Mr Vucic announced a moratorium on new gun licences other than for hunting, revision of existing permits and surveillance of shooting ranges and how civilians store their weapons.
The attacker, who gave himself up to police and at 13 is below Serbia's age of criminal responsibility, will be placed in a psychiatric institution, Mr Vucic told a press conference, adding that both his father and mother had been arrested. The boy turns 14 on 30 July.
"He was the best student. He had asked for a transfer to another class where he had three friends," the president said.
"He was waiting for this day. He was at the shooting range with his father three times."
Interior Minister Bratislav Gasic said the suspect's father, who held the guns legally, had also been arrested.
Serbia's prosecution service said in a statement to the Tanjug news agency that the father would be charged over the shooting but not his son, who was below the legal age of criminal responsibility, which is 14.

Today's shooting happened at Vladislav Ribnikar, an elementary school in Vracar, a central Belgrade district.
One 14-year-old student said that she knew the suspected gunman.
"He was somehow silent, and appeared nice and had good grades. Did not know much about him, he was not that open to everyone. I would never expect that this could happen," she said.
"I heard noises and I thought some boys, some kids were throwing firecrackers ... But then I saw the security guard falling to the ground," she said, adding that she then ran away.
Sarah el Sarag, a lawyer who lives locally and is due to send her second child to the school in September, described the dead security guard as gentle and peaceful.
"He was great guy ... a man who loved the kids. I don't know what was in the head of that child who shot him," she said.

Health Minister Danica Grujicic, a neurosurgeon who witnessed the impact of the Balkan wars, told reporters that the events were "perhaps the most horrifying experience I have had as a doctor and as a human being".
The head of Belgrade's University Hospital, Milika Asanin, said it was treating three pupils and the teacher.
"One patient ... had chest injury and a neck injury. One pupil was shot in the left leg, one in the stomach and both arms. The teacher has a stomach injury," he said.
Milan Milosevic said his daughter was in the classroom when the attacker burst in.
"She managed to escape. (The boy) ... first shot the teacher and then he started shooting randomly," Mr Milosevic, who had rushed to the school, told broadcaster N1.
"I saw the security guard lying under the table. I saw two girls with blood on their shirts."
We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences
Vracar mayor Milan Nedeljkovic said doctors were fighting to save the teacher's life while Sinisa Ducic, acting director of a Belgrade paediatric clinic also treating three of the children, said one pupil underwent surgery on her head.
Gun laws are very strict in Serbia but civilian gun ownership is also widespread.
According to the 2018 Small Arms Survey, Serbia globally ranked third with 39.1 firearms per 100 people, and more than 78,000 people have hunting licences.
The survey estimate includes many weapons held illegally since the wars and unrest of the 1990s, despite authorities having issued several amnesties for owners to hand in or register illicit guns.
Serbia school attack: What are the country's gun laws?
In the deadliest shooting in Serbia since then, Ljubisa Bogdanovic killed 14 people in 2013.
Other mass shootings occurred in 2007, 2015 and 2016. All the assailants were adults.
Luka 17, a student at the high school next to Vladislav Ribnikar, said the tragedy had been long in the making.
"This is a mistake that the entire Serbian society is making for over a decade ... this popularisation of violent crime through public and media, through art, through everything," he said.