A New York man was sentenced to 20 years in prison Monday for shooting two New York Police Department officers during a robbery in Manhattan. Joshua Dorsett, 24, pleaded guilty to charges related to the incident, which occurred in 2024.

The sentencing took place at Manhattan Supreme Court, where one of the officers involved delivered a victim impact statement condemning Dorsett’s actions. NYPD Lieutenant Carl Johnson criticized the defendant, calling the shooting unnecessary and driven by a misguided sense of entitlement and power.

According to court records, Dorsett opened fire on the officers after robbing a business on Canal Street. Both officers survived the shooting, and Dorsett was taken into custody shortly afterward.

The case marked a significant moment in the department’s ongoing efforts to combat violent crime in the city. Law enforcement officials said the prosecution and sentencing of Dorsett send a clear message against attacks on police personnel.

Defense attorneys for Dorsett have not publicly commented on the sentence, and further details about the plea agreement or other aspects of the case were not disclosed at the hearing.