Nine people were killed in two shootings at shisha bars in the western German city of Hanau, police say.
Several other people were also injured after a gunman opened fire at 22:00 local time (21:00 GMT) on Wednesday.
In both places the clientele were reported to have been predominantly Kurdish. The suspect was later found dead at his home, along with the body of a second person.
The motive for the shootings is unclear. An investigation is ongoing.
Bild newspaper reported that the suspect was a German citizen with a firearms licence, and that ammunition and gun magazines had been found in his car.
What do know about the shootings?
The first incident was at Midnight shisha bar in the city centre of Hanau, about 25km (15 miles) east of Frankfurt. Witnesses reported hearing about a dozen gunshots, and at least three people were killed.
The suspect then reportedly fled in a dark car to the Kesselstadt neighbourhood and opened fire at the Arena Bar & Cafe, where five people were killed.
Shisha bars are places where people gather to smoke a pipe known as shisha or hookah. Traditionally found in Middle Eastern and Asian countries they are also popular in many other parts of the world.
The shootings sparked a seven-hour manhunt, while officers searched for what they thought could have been multiple gunmen.
Hanau Mayor Claus Kaminsky told Bild it had been a “terrible night”, adding: “You could not imagine a worse night. It will of course keep us busy for a long, long time and remain a sad memory. I’m deeply moved”.
The initial death toll was eight, but this was raised to nine in the early hours of the following morning after one of the wounded victims succumbed to their injuries.
Can-Luca Frisenna, who works at a kiosk at the scene of one of the shootings, said his father and brother were in the area when the attack took place.
“It’s like being in a film, it’s like a bad joke, that someone is playing a joke on us,” he told Reuters. “I can’t grasp yet everything that has happened. My colleagues, all my colleagues, they are like my family – they can’t understand it either.”