ABC News November 1, 2017

NYC truck attack: 'All in a day's work' for NYPD officer who shot suspected terrorist

WATCH: New details on NYC victims, police officer hailed as hero

A 28-year-old New York City police officer is being hailed as a hero by the governor after the cop shot and injured the suspect in Tuesday's deadly truck attack in lower Manhattan, which is being investigated as an act of terrorism.

Officer Ryan Nash, a five-year NYPD veteran assigned to the 1st Precinct, was one of the first officers to respond to the scene Tuesday afternoon, and he fired the shot that struck the suspect.

Nash was subsequently treated at a hospital for tinnitus, or ringing in the ears, and then released.

Obtained by ABC News
Police officer Ryan Nash is seen in this undated file photo.
Read: 8 dead after truck plows into people in New York City in 'cowardly act of terror': Mayor How the deadly New York City truck attack unfolded Trump responds to NYC attack: Suspect is 'a very sick and deranged person' Witness describes chaotic scene after driver kills 8 in NYC

Nash has two awards for Excellent Police Duty and one for Meritorious Police Duty from the NYPD. He lives on Long Island with his girlfriend.

Officials have praised the officer's quick response, saying he stopped the carnage moments after it began.

NYPD/EPA
NYPD Commissioner James P. O'Neill, center, New York City Mayor Bill de Blasio and New York Governor Andrew Cuomo give an update on the incident that resulted in multiple deaths in New York City, Oct. 31, 2017.

"Officer Nash, five years on the job, 28 years old, he was a hero," New York Gov. Andrew Cuomo said at a news conference this morning. "The NYPD is not just the leadership -- it's the men and women who are out there every day, who are on the first line, and I think officer Nash really showed how important they are and how talented and how brave."

New York City Mayor Bill de Blasio tweeted today, "I spoke to NYPD Officer Ryan Nash this morning. He was very humble about what he did, but what he did was extraordinary."

The mayor said at a news conference this morning that Nash "thought this was all in a day's work and what a cop does to protect other people. But he deserves the accolades of the people of this city, as do his partners."

Kena Betancur/Getty Images
NYPD officers respond after reports of multiple people hit by a truck after it plowed through a bike path in lower Manhattan, Oct. 31, 2017 in New York City.

De Blasio continued that in the moment Nash was not aware of how dangerous the situation was.

"In that situation, you don't know if the shooter has multiple weapons, has a bomb on him, you don't know. ... Ryan stopped that threat immediately. We owe him a great debt of gratitude.”

The Tuesday crash left eight people dead and several others injured.

The chaos began at about 3:05 p.m., when the suspect drove a vehicle -- a Home Depot rental truck, according to the company -- onto the West Street pedestrian and bike path north of Chambers Street, hitting multiple people on the path, New York City police said. The truck drove south and collided with a school bus on Chambers Street near Stuyvesant High School, injuring two school staff members and two children, police said.

After the collision, the truck driver exited the vehicle brandishing what appeared to be two handguns, police said. Nash confronted the suspect and shot him in the abdomen. The suspect was wounded and transported to a hospital, police said.

Andrew Kelly/Reuters
Emergency crews attend the scene of an alleged shooting incident on West Street in Manhattan, New York, Oct. 31 2017.

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

De Blasio called the incident a "cowardly act of terror."

The suspect is believed to have worked alone, law enforcement sources said.