A former New York City police officer, sentenced to three to nine years in prison for fatally throwing a cooler at a fleeing suspect, will be released from prison while he appeals his conviction.

Erik Duran was granted $300,000 bail by a state appeals court in a ruling on Friday, the convicted of manslaughter in February for the August 2023 death of Eric Duprey. Duprey was attempting to flee arrest on a moped during an undercover drug sting in the Bronx when Duran chucked an Igloo cooler at him, causing him to crash onto the pavement.

He died instantly.

Duran maintained he was trying to protect other officers from Duprey, who was operating the motorized bike on a sidewalk.

During sentencing, Bronx Judge Guy Mitchell said the punishment would serve as a "general deterrent" to other officers from acting recklessly.

He rejected Duran’s defense that his actions were justified, concluding that the former officer threw the cooler because he was upset that Duprey was fleeing.

"They had enough to investigate and catch him on a different day," Mitchell said of the police. "The distinction is that the deceased will no longer be seen again by his family."