The Iraq-born man deliberately rammed his car into other vehicles along a major Berlin highway causing injuries for six people.
Investigators are still looking into the suspect’s motives for the motorway attack that happened late Tuesday.
Although officials said that the man cited Islamist motivation for the highway attack in Berlin, the suspect also suffered from psychological problems.
The suspect driving a black Opel Astra allegedly struck three motorcycles at different locations on the Bundesautobahn 100, Berlin prosecutors and police said in a joint statement.
He then stopped on the highway and put an old ammunition box on the roof of his car, claiming it had explosives inside, the statement said.
“According to the current state of our investigation, we assume this was an Islamist-motivated attack,” Berlin's senator for the interior, Andreas Geisel, said.
“A religiously motivated background cannot be excluded.”
Three people were severely injured during the attack late Tuesday, including a motorcyclist left with life-threatening head and back injuries, prosecutor Martin Steltner said.