A "deranged" teenage gunman shot dead nine people and injured a further 27 in a shopping mall massacre in Munich.

Ali David Sonboly, 18, opened fire around the Olympia-Einkaufszentrum (OEZ) shopping mall in the German city on Friday afternoon.

He apparently lured victims to a McDonald's by hacking into a young woman's Facebook account and promising free food.

Armed with a 9mm Glock and 300 rounds of ammunition, Sonboly then loaded his gun in the toilet before opening fire on helpless young people.

Seven of nine dead victims were teens, including three aged just 14.

Minutes later, Sonboly was captured on chilling CCTV footage shooting at terrified members of the public outside the restaurant.

He fled police who fired at him and missed, before shooting himself in the head nearby.

Police said Sonboly was obsessed with mass killings and had a book in his bag entitled "why students kill".

The shooting happened on the fifth anniversary of Anders Breivik's massacre in Norway.

Scroll down for live updates from throughout Friday night and Saturday.