DETROIT – The attorney for ex-Inkster police officer William Melendez has won the appeal of a judge’s recent decision not to allow Melendez to serve a portion of his sentence for an assault conviction in a boot camp.

Melendez was sentenced in February to 13 months to 10 years after being tried for beating a motorist, Floyd Dent, during a traffic stop.

Melendez’s attorney, James Thomas, said Judge Vonda Evans initially did not object to having his client participate in the boot camp -- but Evans modified her order on April 4.

“The court is objecting to boot camp at this time. The court will reconsider at a later date,” the order said.

Last week Thomas appealed the modified order. On Thursday, the Michigan Court of Appeals vacated Evans' post-judgment amendment, meaning Melendez will remain eligible for boot camp.

Wayne County Prosecutor Kym L. Worthy calls it "outrageous."

"It is unconscionable to me that the Michigan Department of Corrections would irresponsibly and recklessly decide that former police officer Melendez who was convicted of assault with the intent to do great bodily harm for the police beating of Floyd Dent should be placed in its boot camp program," Worthy said in a statement released Friday. "This is outrageous. We argued at his sentencing that he should serve far more than what he was given, and this decision adds insult to injury -- literally. The fact that he is even eligible for boot camp speaks to the need for an immediate change the eligibility standards."

A dashcam camera captured dent’s beating on Jan. 28, 2015. The Local 4 Defenders were the first to air it, which sparked an investigation that led to the resignation of the then-Inskster police chief and assault and misconduct in office against Melendez.

Video: Violent traffic stop in Inkster caught on camera

Dent settled with the City of Inkster for $1.4 million in May.