UPPER WEST SIDE, Manhattan (PIX11) — A man was arrested Wednesday after he allegedly tried to rape an 18-year-old woman aboard a Manhattan subway train before a good Samaritan helped her escape the attack on New Year’s Day, according to police.

Isaiah Benjamin, 23, was arrested on charges of attempted rape, sex abuse, forcible touching and public lewdness, police said.

Benjamin allegedly followed the woman onto the southbound No. 2 train at the 125th Street subway station at around 10 p.m. on Jan. 1. The man then exposed himself and tried to undress the victim as the train was approaching the 72nd Street station, police said.

A good Samaritan then intervened and helped the woman safely flee to another train car, according to the NYPD. Police said Benjamin remained on the train, got off at the 42nd Street station, and fled in an unknown direction.

The victim went to the hospital for treatment and evaluation.