Police fatally shot a man who apparently threatened passersby on a street in western Germany on Tuesday after he tried to attack officers with two knives, authorities said.

The incident took place around 2.45 p.m. local time in Moers, near the larger cities of Duisburg and Duesseldorf. Police said a patrol was sent to look into reports of an unknown man having assaulted and threatened several people.

When officers located the man, he attacked them with two knives, according to a police statement. Officers fired at the 26-year-old German, and he was fatally wounded. No other people were harmed, police said.

On Friday evening, three people were killed and eight wounded in a knife attack at a street festival in Solingen, a city in the same region. A suspected Islamic extremist from Syria turned himself in to police a day later. Prosecutors say he was motivated by the ideology of the Islamic State group.

In response to the Solingen attack, Chancellor Olaf Scholz pledged Monday to toughen knife laws and step up deportations of rejected asylum-seekers.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Justin Timberlake in court on DWI case ... FeedMe: Apple cider doughnuts ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Justin Timberlake in court on DWI case ... FeedMe: Apple cider doughnuts ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 5 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME