A teacher has been beheaded in a north-western suburb of Paris, with the attacker shot dead by police.
The victim is said to have shown controversial cartoons of the Prophet Muhammad to his students.
The attack occurred at about 17:00 local time (15:00 GMT) near a school. Anti-terror prosecutors are investigating.
French President Emmanuel Macron visited the scene, calling the killing an "Islamist terrorist attack".
Mr Macron said he was murdered because he "taught freedom of expression". The victim has not been named.
The knife-wielding attacker was shot as officers tried to arrest him in the aftermath of the attack. Police have not released any personal details about him.
A trial is currently under way in Paris over a 2015 Islamist assault on the French satirical magazine Charlie Hebdo, which was targeted for publishing the cartoons.
Three weeks ago, a man attacked and wounded two people outside the magazine's former offices.
What do we know about what happened?
A man wielding a large knife attacked the teacher in a street in an area called Conflans-Sainte-Honorine, cutting off his head. The attacker then ran off, but local police alerted by the public were quickly at the scene.
The officers confronted the man in the nearby area of Éragny.
When they shouted at him to give himself up, he is said to have threatened them. The officers shot him and he died a short time later.
The scene is now sealed off, as the investigation continues.
In a tweet (in French), police urged members of the public to avoid the area..
Who was the victim?
According to Le Monde newspaper, the victim, a teacher of history and geography, had been talking in class about freedom of expression in connection with the Muhammad cartoons, which caused uproar among some Muslims when Charlie Hebdo published them.
Earlier this month, some Muslim parents complained to the school about the teacher's decision to use one or more of the cartoons as part of a discussion about the Charlie Hebdo trial, French media report.
Reacting to Friday's attack, Charlie Hebdo tweeted: "Intolerance just reached a new threshold and seems to stop at nothing to impose terror in our country."
If this motive for the killing is substantiated, it will be deeply shocking to the French, says the BBC's Hugh Schofield in Paris. They will see it as not just a brutal attack, he says, but a brutal attack on a teacher for carrying out his duty to explain.
France has seen a wave of Islamist violence since the 2015 attack on Charlie Hebdo that left 12 people dead, including famous cartoonists.
How is France reacting?
In the National Assembly, France's parliament, deputies stood up to honour the teacher killed on Friday and condemn the "atrocious terror attack".
Interior Minister Gerald Darmanin, travelling to Morocco, is returning urgently to Paris.
Education Minister Jean-Michel Blanquer tweeted that the killing of a teacher was an attack on the French Republic.
He said his thoughts were with the victim and his family, and unity and firmness were the only responses to "Islamist terrorism".
Ce soir, c’est la République qui est attaquée avec l’assassinat ignoble de l’un de ses serviteurs, un professeur.— Jean-Michel Blanquer (@jmblanquer) October 16, 2020
Je pense ce soir à lui, à sa famille.
Notre unité et notre fermeté sont les seules réponses face à la monstruosité du terrorisme islamiste.
Nous ferons face .