Obama pledges support to Germany in wake of Munich shooting

WASHINGTON, July 22 (Reuters) - U.S. President Barack Obama on Friday pledged support for Germany after gunmen went on a shooting rampage in a shopping mall in Munich.

"We don't yet know exactly what's happening there, but obviously our hearts go out to those who may have been injured," Obama said, before speaking at a White House meeting.

"We are going to pledge all the support they may need," he said.

See more from the scene of the shooting:

15PHOTOS

Shooting in Munich shopping center

See Gallery

Shooting in Munich shopping center

A scrren grab taken from video footage shows special forces police officers walking along a street outside the Olympia shopping mall following a shooting rampage in Munich, Germany July 22, 2016. REUTERS/Reuters TV

A screen grab taken from video footage shows police officers near the Olympia shopping mall following a shooting rampage in Munich, Germany July 22, 2016. REUTERS/Reuters TV

A police officer stands guard at the main train station following a shooting rampage at the Olympia shopping mall in Munich, Germany July 22, 2016. REUTERS/Michael Dalder

Special force police officers stand guard at an entrance of the main train station, following a shooting rampage at the Olympia shopping mall in Munich, Germany July 22, 2016. REUTERS/Michael Dalder

MUNICH, GERMANY - JULY 22: Police officers escort people from inside the shopping center as they respond to a shooting at the Olympia Einkaufzentrum (OEZ) at July 22, 2016 in Munich, Germany. According to reports, several people have been killed and an unknown number injured in a shooting at a shopping centre in the north-western Moosach district in Munich. Police are hunting the attacker or attackers who are thought to be still at large. (Photo by Joerg Koch/Getty Images)

MUNICH, GERMANY - JULY 22: An armed police officer points his gun in front of a mall were a shooting took place in Munich, Germany on July 22, 2016. Several people have been killed on Friday after an unknown number of assailants opened fire in a shopping mall in the southern German city of Munich. (Photo by Sebastian Widmann/Anadolu Agency/Getty Images)

Police sign blocks the entrance to Odeon square following shootings at a shopping mall earlier on July 22, 2016 in Munich.
Six people were killed and several gravely injured on Friday in a shooting rampage at a Munich shopping centre, with the attackers still believed to be at large. / AFP / dpa / Sven Hoppe / Germany OUT (Photo credit should read SVEN HOPPE/AFP/Getty Images)

Police secures the area inside a shopping center in Munich on July 22, 2016 following a shooting.
At least one person has been killed and 10 wounded in a shooting at a shopping centre in Munich on Friday, German police said. / AFP / STR (Photo credit should read STR/AFP/Getty Images)

Police secures the entrance to a subway station near a shopping mall where a shooting took place on July 22, 2016 in Munich.
Several people were killed on Friday in a shooting rampage by a lone gunman in a Munich shopping centre, media reports said / AFP / dpa / Lukas Schulze / Germany OUT (Photo credit should read LUKAS SCHULZE/AFP/Getty Images)

Police and firefighters are seen near a shopping mall amid a shooting on July 22, 2016 in Munich.
Several people were killed on Friday in a shooting rampage by a lone gunman in a Munich shopping centre, media reports said / AFP / dpa / Matthias Balk / Germany OUT (Photo credit should read MATTHIAS BALK/AFP/Getty Images)

Special force police officers stand in front of a car near the Olympia shopping mall, following a shooting rampage at the mall in Munich, Germany July 23, 2016. REUTERS/Michael Dalder

QUALITY REPEAT - Special forces police officers stand guard at an entrance of the main train station, following a shooting rampage at the Olympia shopping mall in Munich, Germany July 22, 2016. REUTERS/Michael Dalder TPX IMAGES OF THE DAY

Police officers are pictured at the entrance of an appartment building following a shooting rampage at Olympia shopping mall in Munich, Germany July 23, 2016. REUTERS/Michael Dalder

People are evacuated from the area around the shopping mall Olympia Einkaufzentrum OEZ in Munich on July 22, 2016 after gunmen went on a shooting rampage in the busy shopping centre, killing eight people in a suspected terror attack.
The southern city was in lockdown after the shootings, which saw panicked shoppers fleeing the Olympia mall as armed anti-terror police roamed the streets in search of the assailants.
/ AFP / STRINGER (Photo credit should read STRINGER/AFP/Getty Images)