A car rammed into a group of soldiers in a Parisian suburb on Wednesday, injuring six before speeding off in what officials identified as a suspected terrorist attack.

The vehicle, a BMW, was parked in an alley before it accelerated into the soldiers as they left their barracks to go on patrol, said Patrick Balkany, mayor of Levallois-Perret.

“The vehicle did not stop. It hurtled at them … it accelerated rapidly,” he told broadcaster BFM TV.

Armed Forces Minister Florence Parly said the driver was on the run and being sought, and an investigation was under way to determine “the motives and circumstances” for what she called a “cowardly act”.

A justice ministry official said counter-terrorism investigators had been assigned to the case.

The incident follows a string of Islamist-inspired attacks on soldiers and police, who have been deployed in large numbers nationwide after calls by militant group Islamic State for attacks on France and other countries bombing its strongholds in Syria and Iraq.

The soldiers hit on Wednesday were rushed to hospital and police said two of the six were seriously injured.