Eight people were killed and almost a dozen injured when a 29-year-old man in a rented pickup truck drove down a busy bicycle path near the World Trade Center Tuesday in Manhattan, New York City.

The suspect was identified by two law enforcement sources familiar with the investigation as Sayfullo Habibullaevic Saipov. He's from Uzbekistan in Central Asia but had been living in the US since 2010, sources said.

A senior law enforcement officer told CNN a note, written in English, was found in the truck that said the attack, which unfolded around 3 p.m. on Halloween, wasdone in the name of ISIS."This was an act of terror, and a particularly cowardly act of terror," New York Mayor Bill de Blasio said, "aimed at innocent civilians, aimed at people going about their lives who had no idea what was about to hit them."

Latest developments

A Belgian national also was a victim of the attack, Didier Reynders, deputy prime minister and foreign affairs minister for Belgium, said on Twitter.

Sayfullo Saipov, who was shot by police, is out of surgery, a law enforcement source told CNN. Officers were able to talk to him before the surgery, the source said. It is not known if he told them anything.

President Donald Trump tweeted that the incident "looks like another attack by a very sick and deranged person." In a later tweet, he wrote, "My thoughts, condolences and prayers to the victims and families of the New York City terrorist attack. God and your country are with you!"

New York Gov. Andrew Cuomo directed One World Trade Center to be lit in red, white and blue in honor of freedom and democracy, his office said.

Rented truck used

The incident is being investigated as terrorism, officials said. Witnesses reported the suspect was yelling "Allahu Akbar," according to four law enforcement sources. The FBI's Joint Terrorism Task Force is taking over the lead of the investigation.

Vehicles have been used as weapons in a number of terrorist attacks in recent years, including in deadly incidents in London and Nice, France.

The suspect, driving in a Home Depot rental truck, hopped a curb at West Houston Street and drove south on the bike path on the west side of West Side Highway in lower Manhattan for several blocks, officials said.

After crashing the truck into a school bus, the suspect left the vehicle while displaying imitation firearms and was shot in the abdomen by a police officer, according to the NYPD.

A pellet gun and a paintball gun were recovered from the scene, officials said.

How the New York City truck attack unfolded.

Just after the incident, news footage showed several mangled bicycles on the popular bike path as medics tended to the wounded in the background.

Six people were declared dead at the scene and two were pronounced dead at the hospital. At least 11 others were transported to the hospital with serious but non-life-threatening injuries, according to New York Fire Commissioner Daniel Nigro.

Five of those killed were Argentinians, a group of friends celebrating the 30th anniversary of graduates of the Polytechnic School in their hometown, the country's Ministry of External Affairs said in a statement.

A spokesman for Home Depot confirmed one of the company's rental trucks was part of an incident in lower Manhattan and said the company is "cooperating with authorities" in the investigation.

Suspect identified

Saipov was born in the central Asian nation of Uzbekistan and came to the US in 2010, two law enforcement sources told CNN. He was married on March 25, 2013 to another Uzbek, Nozima Odilova, when he was 25 and she was 19 in Cuyhoga Falls, Ohio. Neither had been married before.

Law enforcement sources said Saipov most recently lived in New Jersey. Neighbors in Paterson, a New Jersey city of 140,000 northeast of New York City, said he lived there recently.

He also lived in Florida for a period, sources said.

For the past six months, he was an Uber driver. The company said he passed a background but has now been removed from the app.

Saipov had multiple interactions with law enforcement in several states, online records show.

He had traffic citations issued in Missouri and Pennsylvania. He was arrested by the Missouri State Highway Patrol in October 2016 after a warrant was issued when he failed to show in court for a misdemeanor offense. He paid a $200 bond, which he forfeited when he didn't show up in court for his next hearing in November. A guilty plea was entered on his behalf.

Witness accounts

News footage showed crowds of spectators -- some capturing the scene with cellphone cameras -- gathered behind police lines. A white Home Depot truck with the front end smashed was also visible.

Eugene Duffy said he had just left work at Pier 26 and was waiting on the light to cross West Street when he heard a scream. He thought it might have been a Halloween prank but he said the scream was bloodcurdling.

"I look down and I see a white pickup truck a couple of more blocks down in the bike path," he said. "Automatically, I know something's wrong. Then, as I go down more toward where the girl is screaming, I see two gentlemen laying there and they have tire tracks marked across their bodies. You could tell they both weren't here."

He continued to walk closer to the scene. Gunshots rang out. He saw police officers ducking for cover. A yellow school bus was smashed nearby. Police descended on the area.

"I thought automatically, this area, I thought it was terrorism," he said.

"What I saw was that the driver -- he didn't look like he was bleeding," said Cruz. "He was dragging his foot. He looks frustrated, panicked, confused. People are running past me, saying, 'He's got a gun. He's got a gun.'I didn't see any gun."

It was a white pickup truck. He looked pretty bad without bleeding or anything like that. I didn't see him hit anybody. All I heard was the impact of a crash."

Tuesday afternoon on Twitter, a user posted an image of a person lying on the ground near the scene of an incident near West & Chambers Streets in Manhattan.