A former Montana high school teacher was released from prison Thursday after completing a 30-day sentence for raping a 14-year-old student, a term that is under review by the state’s high court and has critics calling for the removal of the judge who handled the case.

Stacey Rambold, 54, left the Montana State Prison in Deer Lodge after serving the sentence handed down by District Judge G. Todd Baugh for the 2007 rape of Cherice Moralez.

The judge drew outrage last month over the sentence’s leniency and comments he made that appeared to pin some of the blame on Moralez.

The teen committed suicide in 2010 before Rambold went to trial.

State prosecutors are appealing the sentence, saying Rambold should have received a minimum of two years. But barring new offenses, the former teacher has served his time and will stay out of prison pending the appeal.

Rambold was picked up at the prison by a family member Thursday morning and returned to Billings, where he was seen later in the day reporting to a state probation office.

He’s been registered as a level 1 sex offender — meaning he’s considered a low risk to re-offend— and will remain on probation through 2028 unless the original sentence is overruled.

Moralez’s mother, Auliea Hanlon, said Rambold’s release shows he is “still skating” justice six years after he assaulted her daughter.

Tears streamed down Hanlon’s face as she described the emotions that have at times overwhelmed her since a church counselor in whom Moralez confided first told Hanlon about the rape.

“I figured he’d be fired, go to jail, and she would be vindicated, and that would be the end of it,” Hanlon said. “Instead, here it is six years later, still going on, and he’s getting out. … He’s still skating.”

Rambold’s attorney, Jay Lansing, declined to comment on the defendant’s release. Several friends and family members of Rambold also declined to comment.

Under the terms of his release, Rambold must undergo treatment as a sex offender, is barred from unsupervised visits with anyone under the age of 18 and cannot return to teaching or take any other job that involves overseeing children.

He is required initially to report to his probation officer in Billings on a weekly basis. That’s subject to change once a risk assessment is completed to determine what level of long-term supervision Rambold needs, said John Williams, regional supervisor for the Montana Bureau of Probation and Parole.

In court documents and during sentencing, Lansing described his client as a one-time offender with no prior record who took responsibility for his actions when he admitted to a single count of rape under a 2010 deferred prosecution agreement that was made after Moralez killed herself.

Hanlon has said Rambold’s actions were a “major factor” in the girl’s suicide.

The agreement with prosecutors allowed Rambold to remain free for more than three years, until he was kicked out of a sex offender treatment program for unauthorized visits with relatives’ children and for not disclosing that he was in a sexual relationship with a Washington woman.

When Rambold came back before the court in August, Baugh appeared to show sympathy for the defendant and agreed with Lansing’s recommendation that Rambold receive a 15-year sentence with all but one month suspended. Prosecutors had sought a 20-year term with 10 years suspended.

Baugh also made comments pinning some of the responsibility in the case on Moralez, whom the judge described as “older than her chronological age.”

The comments sparked outrage among many women’s groups, victim’s rights advocates and others, saying the judge was blaming the victim, who had not reached Montana’s age of consent, which is 16.