BERLIN (AP) — Berlin police said they detained a man Tuesday who attacked and injured two people in the city’s Charlottenburg neighborhood, further jolting Germany days after a deadly Christmas market attack elsewhere in the country.

Police said the attacker was a Syrian citizen with residency in Sweden.

“Initial findings indicate that the suspect may have signs of mental illness and that there is not indication for a terrorist motivation,” police spokeswoman Jane Berndt told The Associated Press, adding that the investigation is still ongoing.

A police statement called it an “attempted murder.” It said the man attacked two men in a supermarket and on a sidewalk in front of a nearby hotel shortly before noon, allegedly stabbing them with a knife he had stolen from the supermarket.

Both were taken to a hospital, and police said one was released after outpatient treatment.

Berlin media outlets earlier reported that the man appeared to be randomly attacking. They reported that several passersby pounced on the attacker and overpowered him until police arrived.

Charlottenburg is a normally quiet district of the German capital.

Germany is still reeling from the deadly Christmas market attack this month in which five people were killed and more than 200 were injured in the eastern city of Magdeburg. A Saudi doctor was arrested on murder charges.

In a separate incident Tuesday in southwestern Germany, police shot and killed a man after he stole an excavator in the town of Grünsfeld, drove it into the front of a hardware store and slightly injured three officers who chased him, German news agency dpa reported. The attacker was identified as a 38-year-old German.