French police officers cordon off the area outside Marseille 's main train station. Photo / AP
The Islamic State group has claimed responsibility for a deadly knife attack in Marseille, saying the culprit was its "soldier".
Two women were killed at Marseille's main railway station on Sunday by a man armed with a knife who reportedly shouted "Allahu Akbar" (God is great) before being shot dead by soldiers.
A police source said it was probably a "terrorist attack" and anti-terrorism prosecutors have taken charge of the investigation.
Samia Ghali, a local senator, urged the public to be vigilant against attacks. "At any time, in any place, the threat may return," she said.
Police have evacuated the railway station and advised the public to avoid the area.
One of the women killed had her throat cut and the other was stabbed, a police source said.
The attacker also injured several people, according to local reports.
Dominique, a tearful witness, described how the attacker grabbed one of his victims from behind and slit her throat. "She couldn't have seen a thing," she told CNews television.
An interior ministry spokesman said: "Anti-terrorist prosecutors have opened an investigation and the terrorist theory is the most likely."
The soldiers are among the thousands of armed security personnel patrolling streets and transport hubs since the Paris terror attack of November 2015.
France remains under a state of emergency declared after the attack. Since then, the country has been hit by a string of incidents, most of which have been claimed by Islamic State of Iraq and the Levant.