A Syrian migrant set off a bomb near a music festival in southern Germany, killing himself and wounding a dozen others in the third attack to hit the region in a week, authorities said Monday.

 

2

 

The 27-year-old had spent time in a psychiatric facility, but the authorities said an Islamist motive seemed “likely” for the attack in the city of Ansbach Sunday night.

 

Germany is reeling after nine people died in a shopping center shooting rampage in Munich Friday and four people were wounded in an axe attack on a train in Wuerzburg on July 18.

 

“The government is shocked by the events at the weekend,” deputy government spokeswoman Ulrike Demmer said Monday.

 

All three assaults were in Bavaria, a gateway for tens of thousands of refugees under Chancellor Angela Merkel’s liberal asylum policy.

 

Police said the man intended to target the open-air festival but was turned away as he did not have a ticket, and detonated the device outside a nearby cafe.

 

The perpetrator was killed in the blast, police said in a statement, and a spokeswoman said 12 people were wounded, three of them seriously.