BRIDGEPORT — A local man was being held in lieu of $50,000 bond Monday after police said he allegedly punched a Metro-North conductor in the face more than 30 times after he was asked to move to another car.

Elijah Sampson, 22, was charged with assault on a public transit employee Saturday night, MTA spokesman Aaron Donovan said.

“This was a disturbing incident,” Superior Court Judge Alex Hernandez said during Sampson’s arraignment on Monday. “It was an alleged unprovoked assault.”

The judge ordered Sampson to have a mental health evaluation and continued the case to Oct. 13.

Sampson, who gripped the bars of his cell as he watched the arraignment proceeding on a monitor, did not comment.

A conductor on the Grand Central-bound train on the New Haven line saw Sampson in a car closed to the public shortly after 11 p.m., Donovan said.

When she asked Sampson to move to a different car, he refused, Donovan said. The conductor had the train’s engineer call for MTA police to meet the train at the next station.

As the train was pulling into the Fairfield Metro station, Sampson allegedly punched the conductor in the face around 30 times, according to Donovan.

The conductor was taken to Bridgeport Hospital for lacerations on her face and a swollen eye, Donovan said.

“This is a reprehensible attack on a Metro-North conductor who was simply doing her job. The MTA Police made a rapid arrest and now the justice system must hold this individual responsible to the fullest extent of the law,” MTA Metro-North Railroad President Catherine Rinaldi said in a prepared statement.

The alleged assault delayed the train by 37 minutes, Donovan said.