French prime minister Manuel Valls said the man who drove a lorry through crowds of revellers in Nice, killing 84 people, is a “terrorist linked to radical Islam”.
But prosecutors said Mohamed Laouaij Bouhlel, a Tunisian living in France, was not known to intelligence services.
Prosecutor Francois Molins said Bouhlel was known to police and judicial authorities for matters of threats, violence, theft and damages committed between 2010 and 2016, and was convicted March 24 in Nice criminal court and handed a six-month suspended sentence for violence with a weapon committed in January.
Mr Molins said that “he was on the other hand totally unknown to intelligence services … and was never placed on a watch list for radicalisation”.
More than 200 people were wounded after the 31-year-old drove the vehicle through crowds celebrating Bastille Day in Nice.
A French prosecutor said that of the 202 people injured, 25 are on life support and 52 in a critical condition as he confirmed the attack was carried out by Bouhlel, who lived in Nice.
French president Francois Hollande and Mr Valls visited the city before three days of national mourning begin on Saturday.
They have extended the country’s nine-month-old state of emergency and vowed to deploy thousands of police reservists on the streets after the massacre of pedestrians leaving a fireworks display for France’s national independence day.
Video shot by terrified civilians shows crowds fleeing in panic on the famous waterfront Promenade des Anglais, leaping off the elevated pavement on to the beach below before police finally surrounded the stationary truck and shot dead the driver.
The deaths rocked a nation still dealing with the aftermath of attacks in November in Paris that killed 130 and in January 2015 that killed 17.
“All of France is under the threat of Islamic terrorists,” Mr Hollande said.
The children’s hospital in Nice said it has treated about 50 youngsters injured in the attack, including two who died during or after surgery.
Stephanie Simpson, the communications director for the Lenval foundation hospital, said that injuries included fractures and head injuries and that the victims were aged 18 or under.
She said: “Some are still life and death.”
Footage showed a scene of horror up and down the promenade, with bodies on the floor, some piled near one another and others bleeding on the road.
Some tried to escape into the water, a politician for the region that includes Nice said, giving new details of the horrifying last minutes of the attack.
“A person jumped on to the truck to try to stop it,” Eric Ciotti told Europe 1 radio. “It’s at that moment that the police were able to neutralise this terrorist. I won’t forget the look of this policewoman who intercepted the killer.”
Mr Hollande said: “France was struck on the day of its national holiday, July 14, the symbol of liberty”. He denounced “this monstrosity” – a truck bearing down on citizens “with the intention of killing, smashing and massacring … an absolute violence”.
Minister for the Interior Bernard Cazeneuve said “we are in a war with terrorists who want to strike us at any price and in a very violent way”.
France has lived with soldiers in the streets since the November attacks, and much of the country was under intense security during the month-long European football championships, which ended on July 10 without incident.
A silence was observed ahead of the 13th stage of the Tour de France on Friday for the victims of the Nice terror attack.
The regional president, Christian Estrosi, told BFM TV that ”the driver fired on the crowd, according to the police who killed him”.
Video footage showed men and women – one or two pushing prams – racing to get away from the scene.
Writing online, Nice Matin journalist Damien Allemand, who was at the waterside, said the fireworks display had finished and the crowd had got up to leave when they heard a noise and cries.
”A fraction of a second later, an enormous white truck came along at a crazy speed, turning the wheel to mow down the maximum number of people,” he said.
”I saw bodies flying like bowling pins along its route. Heard noises, cries that I will never forget.”
On video footage of the attack, one person could be heard shouting: ”Help my mother, please!” A pink girl’s bicycle was overturned by the side of the road.
Mr Hollande announced a series of measures to bolster security. Besides continuing the state of emergency and the Sentinel operation with 10,000 soldiers on patrol, he said he was calling up ”operational reserves”, those who have served in the past and will be brought in to help police, particularly at French borders.
He reiterated that France is also bolstering its presence in Iraq and Syria, where he said earlier that military advisers would be on the ground to help Iraqis take back the Islamic State stronghold of Mosul.
US President Barack Obama condemned what he said ”appears to be a horrific terrorist attack”.
European Council president Donald Tusk said it was a ”tragic paradox” that the victims of the attack in Nice were celebrating ”liberty, equality and fraternity” – France’s motto – on the country’s national day.