NEW YORK — A police detective who was injured by a meat cleaver-wielding man near New York’s Penn Station has been released from a hospital.

Detective Brian O’Donnell was greeted with applause as he left Bellevue Hospital on Friday.

O’Donnell was off-duty on Thursday when he was slashed in the face by a man with a meat cleaver. Police say the suspect was later shot by officers when he refused orders to drop the weapon.

Police say the confrontation began when two uniformed officers encountered the suspect, 32-year-old Akram Joudeh, trying to remove an immobilizing boot from a parked vehicle.

Joudeh was hospitalized in critical but stable condition after being shot. It’s not clear if he has an attorney who can speak on his behalf.