A German teenager was arrested on suspicion of having planned an attack on his school, police said Wednesday, adding that they believe he may have been in contact with the Munich shooter who gunned down nine people on July 22.
The 15-year-old was arrested early Tuesday near Ludwigsburg in the south-western state of Baden-Wuerttemberg.
Multiple items, including knives, daggers and cartridges were confiscated from his parents' home.
Police said he had been chatting online with the Munich gunman, an 18-year-old German-Iranian who killed nine people before turning the gun on himself.
A whistleblower monitoring an online forum for violent game enthusiasts first alerted the authorities about the contact between the teen and the Munich shooter.
However, police said there was no evidence of the teen's complicity in the Munich attack or even that we was aware of it was going to occur.
The teenager had also posted photos and drawings on the internet that indicated he had been planning a violent rampage, police said.
Investigators found escape plans for the teen's school, chemicals, as well as instructions on how to make explosives.
A spokesman for the prosecutor said that during questioning, the 15-year-old admitted to having thoughts about a rampage because of personal and school problems.
However, the teen who said he was bullied, also told the authorities that he had subsequently decided against the violent attack.
The prosecution said that terrorism was not a motive. As the youth did not pose a flight risk, he was sent - voluntarily - to a psychiatric facility for adolescents.
He would be investigated for the unauthorized possession of weapons, the prosecution said.
Ali David S shot his victims - most of them teenagers with a non-German heritage - in execution-style killings. Prosecutors say he had been suffering from depression and had received psychiatric treatment.