Authorities found a note, written in English, claiming the suspect in Tuesday’s attack in New York did it in the name of ISIS, a senior law enforcement official told CNN.

The note was found in the truck police said was used in the attack, the source said.

New York City attack suspect Sayfullo Saipov was arrested on a warrant by the Missouri State Highway Patrol on October 21, 2016.

Eight people were killed and almost a dozen others were injured when a man in a rented flatbed pickup drove down a busy bicycle path Tuesday near the World Trade Center, police said at a news conference.

“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.”

The 29-year-old suspect was identified by two law enforcement sources familiar with the investigation as Sayfullo Habibullaevic Saipov. He is from the central Asian nation of Uzbekistan and came to the United States in 2010, sources told CNN.

Here are the latest developments in the attack:

• The suspect, 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.

• Saipov most recently lived in New Jersey, a law enforcement source said. Neighbors said he did recently live in Paterson, not far from New York, at least part time.

• The man rented the truck in New Jersey on Tuesday, a person briefed on the investigation told CNN.

• 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!”

• Argentina’s Ministry of Foreign Affairs said on Twitter that Argentine citizens were killed, but did not disclose how many had died. A Belgian national also was a victim of the attack, Didier Reynders, Deputy Prime Minister and Foreign Affairs Minister for Belgium, said on Twitter.

• 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.

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

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

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. A pellet gun and a paintball gun were recovered from the scene, officials said.

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 lease 11 others were transported to the hospital with serious but non-life-threatening injuries, according to New York Fire Commissioner Daniel Nigro.

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.

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 cops ducking for cover. A yellow school bus was smashed nearby. Cops descended on the area.

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

Michael Corbin, the assistant real estate manager for District Council 37, the city’s largest public employees union, was standing outside the union’s lower Manhattan offices attending to a woman who slipped and fell on the sidewalk.

“The first responder to the event was a counterterrorism officer,” he said. “We were attending to the victim, getting her onto a stretcher and, at that moment, we heard gunshots. I recalled hearing five gunshots in quick succession and immediately the officer … left to investigate the situation from the direction we heard the noise coming from.”

Another witness, Ramon Cruz, described what he saw.

“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.

Uzbekistan ties

Authorities are sure to look at whether the suspect visited Uzbekistan since he moved to the United States seven years ago, CNN terrorism analyst Paul Cruickshank said.

“There has been a significant problem with jihadism in Uzbekistan,” he said.

According to Cruickshank there are two large jihadi groups in the country. One of them is the Islamic Movement of Uzbekistan, which is affiliated with ISIS.

In April, an Uzbek man was arrested after a truck attack killed four people in Stockholm.