GETTY Police arrested a 15-year-old boy on suspicion of planning a terror attack in Stuttgart

FREE now and never miss the top politics stories again. SUBSCRIBE Invalid email Sign up fornow and never miss the top politics stories again. We will use your email address only for sending you newsletters. Please see our Privacy Notice for details of your data protection rights.

Police arrested the teenager after finding bullets, knives and explosive materials at his flat. A high number of small caliber bullets, several knives and daggers were found at the property in the Ludwigsburg district. He had also published pictures and drawings online that indicated a possible attack, police said.

We found a large number of small caliber bullets, several knives and daggers Stuttgart Police

The 15-year-old was said to be in contact with the Munich shooter and the pair had spoken online. Investigators also found escape plans of the school he attended and chemicals, materials and instructions for making explosives. They found out about the boy from a whistleblower who came across a contact of the teenager "whilst doing independent research on the massacre in Munich".

The boy is being held in an adolescent psychiatry ward. During his interrogation the youth admitted to have studied "committing an killing spree due to personal and school problems". Officers say he has now distanced himself from the plans.

Terror Attacks 2016 Sun, July 31, 2016 2016 has been an unforgettable year so far, terror attacks have occurred in the hundreds, both reported and unreported. We take a look at the acts of terrorism so far in 2016 Play slideshow AFP/Getty Images 1 of 36 Cars burn at the scene, as 13 people were left dead and 55 injured

ANADOLU Police said the Munich shooter was in contact with the 15-year-old boy in Stuttgart

EPA Mourners leave tributes to the victims of the Munich shooting

The 17-year-old axeman was shot dead dead by police. Authorities have said the refugee, who may have come from Afghanistan or Pakistan, had clear longer-term ties to Islamist extremist groups. A Syrian asylum seeker blew himself up in Ansbach on Sunday outside a music festival killing himself and inuring 15 people.

AFP GETTY Angela Merkel has been criticised for her refugee policy