German police have arrested a teenager who attacked pupils at his Bavaria school with petrol bombs and an axe.
Ten pupils at Carolinum secondary school in Ansbach were injured before the attacker was shot and overpowered by police, officials said.
The 18-year-old male had set off two explosive devices on Thursday morning in the school, which is near Nuremberg, fire officials said.
The incident is the second major attack on a German school in six months.
In March, 17-year-old Tim Kretschmer opened fire on pupils and teachers at his former school in Winnenden, south-west Germany, killing 15.
Police entered the Ansbach school shortly after Thursday morning's attack was reported and shot the attacker before arresting him, German television reported.
GERMAN SCHOOL ATTACKS
Tim Kretschmer, 17,
kills 15 people
at his former school in Winnenden, south-west Germany, before killing himself.
A former pupil
injures 11 students
at a school in western town of Emsdetten before turning the gun on himself.
A former pupil
kills 17 people
in his school in the eastern city of Erfurt, then kills himself.
"The attacker has been arrested, is injured and is on the way to hospital," Peter Grimm, a spokesman for Nuremberg police, told German rolling news channel N24.
The 18-year-old student was being held on suspicion of attempted murder, prosecutor Gudrun Lehnberger told the Associated Press news agency.
Earlier reports had said the attacker, who is seriously ill in hospital, was 19 and a former pupil at the school.
The Ansbach school, which has around 700 pupils, was evacuated shortly after the attack and is being investigated by police.
Germany suffered its worst-ever school-shooting in 2002 when a former pupil at a school in the eastern city of Erfurt killed 14 teachers, two pupils and a police officer.