New York MTA Subway (Photo by Drew Angerer/Getty Images)

Police in New York have arrested the man captured on video who brutally kicked a 78-year-old woman on the subway, while onlookers did nothing.

The NYPD announced Saturday that it arrested Yonkers resident, Marc Gomez, 36, WCBS reported.

The arrest happened after the police released photos of Gomez, and a cell phone video of the attack. The video outraged the public so much that it sent many into an angry tailspin, and prompted angry comments throughout social media. People were horrified as they watched the video, not only because of the severity of the beating (one that had the woman cringing in her seat), but also because no one appeared to rush to the woman’s aid.

Read More: New York man killed on subway after getting caught on train

According to police, the beating took place shortly after 3 a.m. on March 10, as a subway train pulled into a station in the Bronx.

Reports state that Gomez repeatedly punched and kicked the woman in the head. So ferocious was the attack that the victim had to be treated for cuts and facial swelling at the next stop in the train station, according to WCBS.

The victim was a homeless woman with no prior relationship with Gomez, police said.

Gomez’s fiancee, Alicia Cox, told the New York Post that she and her daughter were on the train with Gomez when the incident took place. Cox said that the victim repeatedly harassed all three of them as they rode home on the train and said she threatened to stab them.

As they rose to get off at their stop, the woman then threatened to kill all three, Cox said. “She shifted toward us and the door and he (Gomez) lost it,” she told the news organization.

The NYPD brass responded with words of thanks to the public for helping to apprehend Gomez.

“Great job, everyone!” NYPD Commissioner James O’Neill posted to Twitter over video of Gomez in handcuffs.

Former NYPD Commissioner Bill Bratton posted to Twitter, “When @NYPDDetectives set out to find a wanted suspect–they get it done. Kudos on the quick arrest of the man wanted in the brutal attack of a 78-year-old woman on the subway.”

Posted Dermot Shea, NYPD chief of detectives, “The victim was treated & released from the hospital & is getting the care, advocacy and support needed. Thank you to the worldwide community for the tremendous assistance.”