Prosecutors say 34-year-old Akram Joudeh was sentenced on Thursday after being convicted of attempted murder, assault and menacing a police officer.
Authorities say officers were attempting to arrest Joudeh in 2016 for trying to remove a boot from his car in Manhattan when he pulled out a meat cleaver and ran.
As officers gave chase, authorities say the off-duty detective confronted Joudeh and was slashed in the head, sustaining a deep laceration.
Joudeh was eventually subdued after being shot by police.
PHOTOS: Shots fired near Penn Station after officers attacked
----------
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube