NEW YORK — A man accused of attacking an off-duty detective with a meat cleaver near New York’s Penn Station has pleaded not guilty to attempted murder.

Akram Joudeh entered the plea during his arraignment Tuesday in Manhattan Supreme Court. He was also charged with assault and menacing a police officer.

The 32-year-old suspect’s Legal Aid attorney told the judge his client was not a legal U.S. citizen.

Police say the evening rush hour confrontation began when two uniformed officers encountered Joudeh trying to remove an immobilizing boot from a parked vehicle.

Police say the suspect pulled out a meat cleaver and ran. The off-duty detective tried to tackle him but was slashed in the face.

Joudeh was later shot by officers when he refused orders to drop the weapon.