A failed Syrian asylum seeker has blown himself up and injured 12 other people with a backpack bomb near a festival in the south German town of Ansbach.
The state of Bavaria's interior minister said the 27-year-old man had detonated the device after being refused entry to the music festival.
About 2,500 people were evacuated from the venue after the explosion.
Bavaria has been on edge since a knife rampage on a train claimed by so-called Islamic State (IS) last Monday.
The Ansbach blast is reported to have happened at about 22:10 (20:10 GMT) outside the Eugens Weinstube bar in the centre of the town, which has a population of 40,000 and is home to a US military base.
The bomb went off close to the entrance to the Ansbach Open music festival.
A witness, Thomas Debinski, reported "panic" after the explosion, although some people had thought it was caused by a gas explosion.
"Then people came past and said it was a rucksack that had exploded," he told Sky News.
Three of the injured were in a serious condition, police said.
Security services have sealed off the city centre and experts are trying to establish the kind of explosives the bomber used.