French anti-terrorism prosecutors are investigating a knife attack at a church in the Mediterranean city of Nice that killed three people and wounded several others at a time when French authorities are on high alert for extremist violence.
The assailant was arrested after the Thursday morning attack at the Notre Dame Church and taken to a nearby hospital after being injured during his arrest, a police official said.
He was believed to be acting alone and police are not searching for other assailants, the official said.
The anti-terrorism prosecutor's office said an investigation was opened into an attack with a terrorist connection.
Images on French media showed the neighbourhood locked down and surrounded by police and emergency vehicles.
Sounds of explosions could be heard as sappers exploded suspicious objects.
The exact motive of the attack was unclear but comes as France is under alert for Islamic extremist acts amid tensions over caricatures of the Muslim Prophet Mohammed published by satirical French weekly Charlie Hebdo, and after two other recent attacks in France with links to the cartoons.
The lower house of parliament suspended a debate on new virus restrictions and held a moment of silence Thursday for the victims.
The prime minister rushed from the hall to head to a crisis centre overseeing the aftermath of the attack.
Nice's mayor Christian Estrosi (pictured above, second from the right) said the attacker shouted "Allahu akbar!" repeatedly as police apprehended him and that "the meaning of his gesture left no doubt".
Speaking to reporters in Nice, Mr Estrosi said two people were killed inside the church and a third person who escaped to a nearby bar was in a life-threatening condition.
Mr Estrosi said in a tweet said the church caretaker was among those attacked at the Basilica Notre Dame.
He appealed to the citizens of Nice to remain united.