Over the past five years in Germany there have been several high-profile attacks in which people have been injured or killed. The number has risen sharply after a recent spate of attacks.
July 24, 2016: A 27-year-old asylum-seeker from Syria kills himself and injures 12 others in a bombing outside a music festival in the Bavarian town of Ansbach. The suspect had tried to kill himself on two prior occasions and had previously been treated at a psychiatric clinic, officials say.
July 22,2016: An 18-year-old German-Iranian shoots dead 10 people, including himself, in Munich. The attack causes widespread panic and a virtual shutdown of the city after rumours of further attackers spread. The attacker had been inspired by other mass shootings around the world, but police rule out any link to the Islamic State extremist group.
July 18, 2016: Armed with an axe and a knife, a 17-year-old refugee from Afghanistan attacks passengers on a regional train near Wuerzberg. Five people suffer injuries, some of which are life-threatening. Police shoot and kill the attacker, who had declared his allegiance in a video to the Islamic State terror group.
April 2016: Two young Salafists from Gelsenkirchen bomb a Sikh house of prayer in Essen following an Indian wedding. Three people are injured. The investigators believe that it was a targeted attack with a terrorist background.
February 2016: During an identity check at Hanover's main railway station, a 15-year-old German-Moroccan attacks a federal policeman with a knife, causing life-threatening injuries. The federal prosecutor's office determines the attack is a "martyr operation" for the Islamic State.
March 2011: A young Kosovan-Albanian shoots and kills two US soldiers and critically injures two others at Frankurt/Main airport. The man is found to be an extremist acting alone. In 2012 he is sentenced to life in jail.