A man has attacked six people, including a police officer, with a knife at a market square in the south-west German city of Mannheim, police say.
One of the people injured was anti-Islam activist, Michael Stürzenberger, who had been preparing to hold a rally in the square, according to his group.
The incident was caught on a YouTube livestream and showed the attacker stabbing a man, and then a police officer who went to help. The officer is in a critical condition.
The attacker was shot and injured by another police officer.
German Chancellor Olaf Scholz described the incident as “terrible”, and that his thoughts were with the victims.
He posted on X: “Violence is absolutely unacceptable in our democracy. The perpetrator must be severely punished.”
Police in Mannheim tweeted about a "major police operation" in the city's market square and a rescue helicopter was sent to the scene.
One person attacked several others with a knife, injuring them, at 11:35 (10:35 BST), police said in a follow-up statement.
A firearm was then used against the attacker, it added.
The attack is understood to have happened at the same time as a rally in the market square hosted by far-right anti-Islam activist, Michael Stürzenberger, and his organisation the Citizens' Movement Pax Europa (BPE).
A spokeswoman for the city of Mannheim confirmed that the organisation had registered an event on the market square for Friday morning.
BPE confirmed to Bild newspaper that Mr Stürzenberger was attacked in the leg and face.
His colleague Stefanie Kizina told the newspaper that Mr Stürzenberger has to undergo surgery, but his life was not in danger.
"The attack happened before the event even started, it must have been planned well in advance," she said.
Police have not released any further information about those injured in the attack.
Local newspaper Mannheimer Morgen has reported that the attacker injured six people, including five BPE members and one police officer.
According to DPA, the police officer was in a critical condition and will have to undergo emergency surgery.
A livestreamed video from the event shows a man attacking people with a knife. At least one person is seen with a wound to the leg.
A number of bystanders are seen grappling with the attacker, who later manages to break free and stab a police officer in the back.
Several police officers with firearms then surround him, before he falls to the ground.
Police have not released the identity of the suspect, but German media outlets say he is a 25-year-old man who was born in Afghanistan but lives in Germany.
Although a motive has not been confirmed, Germany's Interior Minister Nancy Faeser said there was a possibility that the attack could be Islamist-motivated.
Who is Michael Stürzenberger?
According to Bild, Michael Stürzenberger is the author of an Islamophobic blog, as well as a member of the BPE, an organisation which says it stands against the "Islamisation" of Germany.
The 58-year-old is one of the authors of the anti-Muslim platform PI-News and is being monitored by the Bavarian domestic intelligence service.
A former politician, Mr Stürzenberger once led a small right-wing populist party Die Freiheit, which was dissolved in 2016.
Before that, he was a member of the Christian Social Union (CSU) - the Bavarian sister party of the Christian Democratic Union (CDU) - but left before he was kicked out.