Three people were killed in the attack, two of them inside the Notre-Dame basilica, Nice Mayor Christian Estrosi told reporters.
The stabbing occurred inside the Notre-Dame church in Nice and left several people injured in addition to the three fatalities. The third victim had managed to flee the basilica, but subsequently died from sustained injuries.
The alleged attacker was arrested by security forces and hospitalized due to a gunshot injury received during the police operation.