More details have been released by police in Munich about the fatal shooting at a popular shopping centre and fast-food restaurant on Friday.
Here's what we know so far about the victims:
The gunman killed at least nine people.
Three of the dead are Turkish, one is Greek and three from Kosovo, their respective government officials said.
Twenty-seven people have been injured. Ten of those are critically ill.
Among the critically injured is a 13-year-old boy.
Seventeen people were slightly injured.
Four people sustained shot injuries.
Here's what we know so far about the gunman:
He was a student, born and raised in Munich.
Police have found no indication that he had links to Islamic State.
There appeared to be no links to immigrants or immigration into Germany.
He appears to have acted alone.
He used a semi-automatic 9mm Glock 17 handgun, which had had its serial number illegally removed.
An additional 300 rounds of ammunition were found in his rucksack when his body was found.
He had previously received psychiatric treatment, including for depression.
A search of his room had unearthed a document about "frenzied attacks" and a book called Rampage in Head: Why Students Kill.
Munich chief of police Hubertus Andrae said the gunman appeared to be "obsessed with shooting rampages".
The gunman appeared to have hacked into a Facebook account to tell people free food was going to be handed out at the McDonald's where his rampage started.