NEW YORK (CBSNewYork) — A Brooklyn man has been arrested in connection with a brutal attack aboard a subway Sunday.

The victim was punched repeatedly and then pushed onto the tracks in what investigators have dubbed a hate crime.

READ MORE: Police Say Connecticut Man Attacked Ambulance Facilities With Molotov Cocktails

Police say 47-year-old Willie P. Ames, wearing a red “Make America Great Again” hat, started fighting with a 24-year-old Hispanic man on a 4 train as it was approaching Union Square on Friday around 8:15 p.m.

Ames allegedly started making multiple derogatory remarks regarding the victim’s ethnicity. He then followed the victim off the train and punched him in the head multiple times.

READ MORE: 1 Injured In Manhole Fire In Midtown; FDNY, Utility Crews On Scene

Police say Ames then pushed the victim onto the tracks before running off. Luckily, a friend helped the victim to safety.

The victim was taken to a nearby hospital and treated for a minor head wound.

On Monday, police detained another black man wearing a “Make America Great Again” hat on the Upper East Side, but he turned out to be the wrong man. Police cleared him after making a few calls and apologized.

MORE NEWS: Police: 2 Men Wanted In Violent Queens Home Invasion Stole $3,000 From Woman At Gunpoint

Ames is charged with three counts of assault and one count of aggravated harassment.