One policeman has been shot dead and two others wounded in central Paris, French police say, with their suspected attacker killed by security forces.
A lone gunman opened fire before being killed as he fled the scene, police say. The Champs-Elysees was sealed off.
President Francois Hollande said that he was convinced the attack was “terrorist-related”.
So-called Islamic State (IS) said that one of its “fighters” had carried out the attack.
Islamist militancy is a major issue in the polls after recent mass attacks claimed by IS, with 238 people killed in jihadist attacks in France since 2015, according to data from AFP news agency.
I suppose this will increase votes for Marine Le Pen, and I also suppose this is what IS wants.