The attack took place in Ansbach, near Nuremburg, after the 27-year-old was denied access to the nearby Ansbach Open music festival, according to Germany’s interior minister Joachim Herrmann.
Herrmann said the suspect, who was known to police, had lived in Germany for two years but was denied asylum in the country a year ago.
He said it is unclear if the suspect intended to kill others or just himself but said he had “tried to commit suicide” twice before and had previously been in psychiatric care in the district hospital in Ansbach.
Of the 12 people injured, three were critically injured in the blast, police said.
Now, photographs have emerged of armed police raiding an Ansbach propety, which local media believe to be the residence of the bomber.