Munich's police chief said the suspect in the deadly shooting at a popular mall is an 18-year-old German-Iranian from Munich.

The police chief said the attacker's motive was still "fully unclear."

An eyewitness, who is Muslim, said that the shooter shouted the Islamic phrase "Allahu Akbar."

Ten people were killed, including the likely shooter. Investigators believe the shooter killed himself and appears to have acted alone.

The body of the shooter found about 2 1/2 hours after the attack and was determined to be the shooter based on the evaluation of witness statements and closed circuit television.

Two others who fled the area quickly were investigated but had "nothing to do with the incident."

Munich police gave a "cautious all clear" early Saturday morning, more than seven hours after a gunman opened fire in a crowded shopping mall and at a nearby McDonalds.

Cell phone video captured the gunman opening fire outside a McDonald's at the shopping center. He appeared to be firing a handgun as several people fled.

President Obama said "our hearts go out to the victims" in brief remarks this afternoon before addressing a group of law enforcement officers. 

It was the second attack this week in Germany, after a 17-year-old Afghan asylum seeker injured five people with an axe and knife on a train in the Bavarian city of Wuerzburg.

ISIS later claimed responsibility for that attack.

Watch the latest from Kelly File and Catherine Herridge above.

Stay tuned to Fox News for more on this developing story.

Police: TN Woman Stole Wallet from Crash Victim Instead of Calling 911

Officer to Flag-Burning RNC Protester: 'You're on Fire, Stupid!'

Krauthammer: Cruz's Speech 'Was the Longest Suicide Note in US Political History'

WATCH: Driver Distracted by Pokemon Go Slams into Police Car