A teen gunman who killed nine people in a rampage in Munich was allegedly "deranged", Munich police said on Saturday. German investigators have established an "obvious link" between the Munich mall shooting and far-right Norwegian mass murderer Anders Breivik while ruling out any ties to the Islamic State group, police said Saturday.

Source: b'Munich security forces after the attack | Source: AFP'

"The link is obvious" Munich police chief Hubertus Andrae said at a press conference, describing the gunman as obsessed with mass killings.

 Hubertus also added:

"There is absolutely no link to the Islamic State" 

He spoke about the shooting, describing it  "classic act by a deranged person", and the perpetrator of the violence as someone  "obsessed" with mass shootings. He also asserted that he researched the theme of rampages, had documents relating to past violent incidents and may have researched Breivik's lethal killing spree. 

Friday's carnage came on the fifth anniversary of right-wing fanatic Breivik's massacre in Norway that killed 77 people, many of them youngsters, and is also the third terrorist attack in Europe within a week. 

Source: b'Panicked crowds after the mall shooting | Source: AFP'

Breivik is serving a maximum 21-year sentence -- which can be extended if he is still considered dangerous -- for killing eight people in a bombing outside a government building in Oslo and then gunning down another 69, most of them teenagers, at a Labour Youth camp on the island of Utoya on July 22, 2011.

Andrae said there were "no indications whatsoever" the 18-year-old German-Iranian gunman had any links to Islamic State group or that the killings were motivated by politics.

The Munich prosecutor also said the suspect -- whose name has been withheld for the time being -- had suffered depression and reportedly undergone psychiatric treatment.

(Feature Image Source: AFP)