A man in a rented pickup truck mowed down pedestrians and bicyclists along a busy bike path near the World Trade Center memorial Tuesday, killing at least eight and injuring 11 others in what the mayor called “a particularly cowardly act of terror.”

The 29-year-old driver was shot in the abdomen by police and taken into custody after jumping out of the truck with what turned out to be a fake gun in each hand and shouting “Allahu Akbar!” officials said. His condition was not immediately released.

The driver barreled along the bike path for the equivalent of about 14 blocks, or around eight-tenths of a mile, before slamming into a small yellow school bus.

The attack set off panic in the neighborhood, with people screaming in fear and the bike path left strewn with mangled bicycles and bodies that were soon covered over with sheets.

“I saw a lot of blood over there. A lot of people on the ground,” said Chen Yi, an Uber driver.

Police closed off streets across the western edge of Manhattan along the Hudson River and officers rushed into the neighborhood just as people were preparing for Halloween festivities, including the big annual parade through Greenwich Village.

The driver’s identity was not immediately released.

New York Gov. Andrew Cuomo called it a “lone wolf” attack and said there was no evidence to suggest it was part of a wider plot.

A law enforcement official who was not authorized to discuss the case publicly and spoke on condition of anonymity said witnesses told police the attacker yelled, “Allahu akbar!” — “God is great” in Arabic — as he got out of the truck.

Asked about that at a news conference, New York City Police Commissioner James O’Neill replied: “Yeah. He did make a statement when he exited the vehicle.” He said the statement and the method of attack led police to conclude it was a terrorist act.

On Twitter, President Donald Trump called it “another attack by a very sick and deranged person” and declared, “NOT IN THE U.S.A.”

Cities around the globe have been on alert against attacks by extremists in vehicles. The Islamic State has been encouraging its followers to mow down people, and England, France and Germany have all seen deadly vehicle attacks in recent months and years.

Police said the vehicle, a rented Home Depot truck, entered the bike path at about 3 p.m. on West Street a few blocks from the new World Trade Center — the site of the deadliest terror attack in U.S. history — and mowed down several people. The truck then turned at Chambers Street, near the trade center site, hitting the school bus and injuring two adults and two children.

In addition to those killed, 11 people were seriously injured, police said.

A paintball gun and a pellet gun were found at the scene, police said.

“This was an act of terror, and a particularly cowardly act of terror aimed at innocent civilians, aimed at people going about their lives who had no idea what was about to hit them,” Mayor Bill de Blasio said.

At least two covered-over bodies could be seen lying on the path, and the front end of the pickup was smashed in.

Tom Gay, a school photographer, was on Warren Street and heard people saying there was an accident. He went down to West Street and a woman came around the corner shouting, “He has a gun! He has a gun!”

Gay said he stuck his head around the corner and saw a slender man in a blue track suit running southbound on West Street holding a gun. He said there was a heavyset man pursuing him.

He said he heard five or six shots and the man in the tracksuit fell to the ground, gun still raised in the air. He said a man came over and kicked the gun out of his hand.

“So many police came and they didn’t know what was happening,” said Eugene Duffy, a chef at a waterfront restaurant. “People were screaming. Females were screaming at the top of their lungs.”

The right side of the school bus was bashed in, and firefighters surrounded it and worked to free those inside.

This article was written by Colleen Long and Jake Pearson from The Associated Press and was legally licensed through the NewsCred publisher network. Please direct all licensing questions to [email protected].

Photo Credit: Heavily armed police stand guard near the scene after a motorist drove onto a busy bicycle path near the World Trade Center memorial and struck several people October. 31, 2017, in New York. (AP Photo/Andres Kudacki) Andres Kudacki / Associated Press