A former New York City police officer who was sentenced to three to nine years in prison for fatally throwing a cooler at a fleeing suspect walked out of prison Monday after being granted bail while he appeals his conviction. 

Erik Duran, 38, was released from custody at the Elmira Correctional Facility Monday afternoon, waits for his appeal to be finalized.

 GOT A TIP?

"This is a major win for Erik and his family and for law enforcement officers around the country," Vincent Vallelong, the president of Duran’s union within the SBA, reportedly said.

Duran, a married father of three, was convicted in February on charges stemming from the August 2023 death of Eric Duprey.

 drug bust in the Bronx when Duran hurled an Igloo cooler at him, causing him to crash and hit his head on the pavement. 

Duprey later died from his injuries.

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

Duran’s attorney did not immediately respond to Fox News Digital’s request for comment. 

Fox News Digital's Michael Ruiz and Louis Casiano contributed to this report.