French police arrested a man who targeted passersby in Paris on Saturday night, killing a German tourist with a knife and injuring two others, France’s interior minister said, Report informs via France 24.

Police subdued the man, a 25-year-old French citizen who had spent four years in prison for planning a violent offense. After his arrest, he expressed anguish about Muslims dying, notably in Afghanistan and the Palestinian territories, and claimed that France was an accomplice, French Interior Minister Gerald Darmanin said. The attacker apparently cried “Allahu Akbar” (God is great), Darmanin added.

“This person was ready to kill others,” Darmanin told reporters.

The anti-terrorism prosecutor’s office confirmed it has opened an investigation.

The attacker went after a German couple with a knife, killing the man and used a hammer to injure two others.

The attacker, who was not identified by name, left prison after four years in 2020 and was under surveillance and undergoing psychiatric treatment, the minister said, painting a brief portrait of the assailant, who was born in Neuilly-Sur-Seine, a Paris suburb. He was most recently living with his parents in the Essonne region, south of Paris.