MUNICH (AP) — Police in Munich exchanged fire with a gunman near the Israeli Consulate in Munich on Thursday, fatally wounding him. Authorities said he may have been planning to attack the consulate on the anniversary of the attack on the 1972 Munich Olympics.

No one else was hurt in the shootout shortly after 9 a.m. in an area near the consulate and a museum on the city’s Nazi-era history. Officers had been alerted to a person carrying a gun in the Karolinenplatz area, near downtown Munich, and returned fire when he shot at them. The suspect, who was carrying an old long gun with a bayonet attached to it, died at the scene.

Five officers were at the scene at the time the gunfire erupted. Police quickly deployed about 500 officers to the area.

Police said the gunman was an 18-year-old from Austria, but investigators were still looking into his motive. They didn’t give further details on the suspect, who left a car near the scene.

“We have to assume that an attack on the Israeli Consulate possibly was planned early today,” Bavaria’s top security official, state Interior Minister Joachim Herrmann, told reporters at the scene. “It’s obvious that, if someone parks here within sight of the Israeli Consulate … then starts shooting, it most probably isn’t a coincidence.”