A 73-year-old man has died after a man drove into a crowd near a bakery in the southwestern German town of Heidelberg.
Police said three people were injured and one man later died on Saturday.
"There are no indications of a terrorist background," spokesman David Faulhaber said.
The suspect was seen getting out of the car with a knife and was later tracked down to near a swimming pool.
He is now in a hospital in Heidelberg having been shot by police while being arrested, leaving him seriously injured, police said. Regional newspaper Rhein-Neckar-Zeitung said he was not fit to be questioned.
Rhein-Neckar-Zeitung cited police as saying the suspect was a young German man.
The newspaper said the suspect had stopped at a red traffic light and when it turned green put his foot down before hitting the group of people at high speed and smashing into a pillar.
Reuters