In a press conference in the early hours of Saturday morning, Munich's police chief said the man had been identified as an 18-year-old German-Iranian who used a pistol to open fire at a nearby McDonald's.

A dead man found near the Olympia shopping centre in Munich was the suspected gunman, police have confirmed.

The motive for the attack, in which nine others were killed and several were injured, is not yet clear.

The man then took his own life and was found in a side street near the centre. He was not previously known to police, the police chief added. He had both German and Iranian citizenship and had lived in Munich for more than two years.

Three people spotted fleeing the scene of the attack, who police initially believed had been responsible for the shooting, have been identified and were not involved.