Two people were killed and another seriously wounded in a stabbing Tuesday in southwestern Germany, police said. The suspected assailant was detained.

Police said that they were alerted to the stabbing in a suburb of the city of Ludwigshafen on Tuesday afternoon. The 25-year-old suspect, a Somali citizen, initially fled the scene and was detained in a drugstore.

Officers used their firearms in the process and he was seriously injured, but not in life-threatening condition, police said.

GERMAN CYBERSECURITY CHIEF FIRED AFTER REPORTS OF RUSSIAN INTELLIGENCE TIES

Police later said the victims who were killed were two German men, ages 20 and 35. The severely injured person is a 27-year-old German.

German police

A street has been blocked off in the Oggersheim district in the city of Ludwigshafen, Germany, on Oct. 18, 2022. Two people were killed and another was seriously hurt in a stabbing. (Keutz TV-NEWS/dpa via AP)

Neither the names of the victims nor of the perpetrator were given, in line with German privacy policy.

GERMANY PLANS TO INTRODUCE GLOBAL PUBLIC TRANSIT PASS

Further information on the incident and possible motives of the attack weren't immediately available. Police said there was no danger to the public.