Kids in Halloween costumes cross the street near the scene where a man driving a rental truck struck and killed eight people on a jogging and bike path in Lower Manhattan.— AFP
European allies and Mexico's president condemned the attack. “Together we will defeat the evil of terrorism,” said British Prime Minister Theresa May.
French President Emmanuel Macron tweeted: “Our fight for freedom unites us more than ever.”
Television networks named the perpetrator as Sayfullo Saipov, of Tampa, Florida. According to registry site WhitePages, a 29-year-old of the same name has been living in Tampa since June 2011, and had other addresses registered in Ohio.
US media said the suspect shouted “Allahu Akbar” and police chief James O'Neill confirmed that he made a statement when he exited the vehicle.
“If you just look at the M.O. [modus operandi] of the attack, that's consistent with what's been going on. So that along with the statement has enabled us to label this a terrorist event,” O'Neill said.
He was later operated on and was expected to survive, US networks reported.
The FBI and New York police urged members of the public to come forward with any information that could assist the investigation into the attack, which the mayor said preliminary information suggested was a lone wolf assault.
The attacker struck in TriBeCa, one of the most expensive neighbourhoods in the city home to celebrities and wealthy families. In the aftermath of the attack, worried parents and children were seen evacuated from a nearby public school.
'Little bit crazy'
“There was a smell of gunshots,” said John Williams, 22, who arrived at the scene 30 seconds afterwards en route to the park. “There was a man lying on the ground. It looked as if he'd been shot.”
“When the cops shot him, everybody started running away and it got a little bit crazy right there. So when I tried to look again, the guy was already down,” a witness who gave his name only as Frank told local television network NY1.
Heavily armed police fanned across the city of 8.5 million, home to Wall Street, Broadway and one of the biggest tourist draws in the US.
Security was stringent at airports, bridges, tunnels and mass transit systems, with bag searches at Manhattan's Grand Central transit hub and police stationed along a subway platform in Brooklyn.
A planned Halloween parade went ahead as planned, albeit under tight security and a large police presence, as State Governor Andrew Cuomo ordered the new World Trade Center to be lit red, white and blue “in honour of freedom and democracy”.
Tuesday's attack was the first deadly terror-related incident in the US financial and entertainment capital since the Al Qaeda hijackings brought down the Twin Towers, killing more than 2,700 people on 9/11.
It came 12 months after a pipe bomb exploded in September 2016 in Chelsea, lightly wounding 31 people. An American of Afghan descent, Ahmad Khan Rahimi, was convicted of terrorism on October 16 in relation with that attack.
In May, a US Navy veteran plowed a car into pedestrians in Times Square, killing an 18-year-old woman and injuring 22 other people in what de Blasio said was not terror-related.
On May 1, 2010 Pakistani immigrant Faisal Shahzad planted a car bomb in Times Square that failed to explode. He was arrested after boarding a flight to the Middle East and sentenced to life behind bars.