Police officers stand near the scene where at least three people were killed in Solingen, western Germany, according to police
Police officers stand near the scene where at least three people were killed in Solingen, western Germany, according to police AFP

German police on Saturday hunted a man who stabbed three people to death and wounded eight others at a street festival in the city of Solingen, with a terror motive for the attack "not excluded".

The knifeman went on a rampage in the western town of Solingen late on Friday, as thousands had gathered for the first night of a "Festival of Diversity", part of a series of events to mark the town's 650th anniversary.

On Saturday, police announced they had detained a person as part of the probe, with a prosecutor later saying it was a 15-year-old who may have been in contact with the knifeman.

"The author (of the attack) has not yet been identified," Markus Caspers, prosecutor of Duesseldorf that lies just west of Solingen, told a press conference.

"We have not been able to identify a motive for now, but in view of all of the circumstances, we are working under the assumption that the initial suspicion of a terrorist motive cannot be excluded," Caspers said.

The people killed were men of 56 and 67 years of age and a 56-year-old woman, officials said.

"The victims were completely unknown with no known ties between them, so based on this we're concluding that it could be a terror act," Caspers said, adding that "no other motive is evident at this time".

Four of the wounded were in a "serious" condition, officials said, revising down an earlier estimate.

"After analysing the first images, we're going on the principle that it was an attack targeted toward the neck," police chief Thorsten Fleiss told the press conference.

Interior Minister Nancy Faeser said Germany's "security authorities are doing everything they can to catch the perpetrator" of the "horrific act", while Chancellor Olaf Scholz said he "must be caught quickly and punished".

Thousands of people had gathered in front of a stage on the festival's first night when the killing started.

"An unidentified man attacked several people with a knife around 9:40 pm (1940 GMT)," said the statement released by Duesseldorf police.

"Out of nowhere, a man armed with a knife stabbed people at random and killed them," regional interior minister Herbert Reul said in comments at the scene.

Witness Lars Breitzke told the Solinger Tageblatt newspaper he was a few metres from the attack, not far from the festival stage, and "understood from the expression on the singer's face that something was wrong".

"And then, a metre away from me, a person fell," said Breitzke, who at first thought it was someone who had too much to drink.

When he turned around, he saw other people lying on the ground amid pools of blood.

Solingen mayor Tim-Oliver Kurzbach said the whole city was in "shock, horror and great grief".

"We all wanted to celebrate our town's anniversary together and now we have to mourn the dead and injured," he said.

Hendrik Wuest, the premier of North Rhine-Westphalia state, also expressed his "shock and grief" in a post on social media platform X.

"An act of the most brutal and senseless violence has struck at the heart of our state," he said.

Solingen is a city of some 150,000 people located between Duesseldorf and Cologne.

People had gathered in the town on Friday evening for the first day of the three-day "Festival of Diversity".

It was set to feature music, street theatre, variety shows and comedians in the city centre and several other areas, it said.

Up to 75,000 visitors had been expected to attend.

The Solinger Tageblatt said one of the festival organisers went on stage to announce it was cancelled.

Thousands of people cleared the area, the paper reported, with a journalist at the scene describing the atmosphere as "ghostly".

"People left the scene in shock, but calmly," Philipp Mueller, one of the organisers, told the newspaper.

Mueller said the rest of the festival would also be cancelled.

Germany has seen a series of knife attacks over the past 12 months, with the government promising to crack down on knife crime.

A police officer was killed and five people were wounded in a knife attack at a far-right rally in the city of Mannheim in May.

Police inspect the scene in Solingen after a man stabbed to death three people and wounded eight others at a street festival in the western city
Police inspect the scene in Solingen after a man stabbed to death three people and wounded eight others at a street festival in the western city AFP