A superior court judge in Indiana on Wednesday ordered the immediate release of Purvi Patel, the Indiana woman who was convicted of “feticide” and sentenced to 20 years in prison in 2015 for losing her pregnancy, after resentencing Patel to less time than she has already served.

After Patel appealed the original sentence, her feticide conviction was vacated by an appeals court in July. She was still found guilty of a class D felony charge of child neglect.

In her ruling Wednesday, St. Joseph superior court judge Elizabeth Hurley “said a sentence of 18 months for Purvi Patel was appropriate for a felony charge of neglect of a dependent and that Patel does not have to be placed on parole,” the Guardian reported.

SCROLL TO CONTINUE WITH CONTENT