(CNN) -- A 30-day rape sentence given to a teacher who admitted to raping his 14-year-old student may be illegal, according to the Montana judge who imposed it.

The judge scheduled a new hearing for Friday.

"The Defendant shall be present at argument as the Court, if necessary and appropriate, will amend the mandatory minimum portion of the sentence," read a court order filed Tuesday.

It appears the mandatory minimum is two years, not 30 days, the order said.

"In this Court's opinion, imposing a sentence which suspends more than the mandatory minimum would be an illegal sentence," it continued.

The case drew widespread attention when District Judge G. Todd Baugh imposed the 30-day sentence on Stacey Dean Rambold and made controversial comments about the victim, saying she "seemed older than her chronological age."

(0) comments

Welcome to the discussion.

Keep it Clean. Please avoid obscene, vulgar, lewd, racist or sexually-oriented language.
PLEASE TURN OFF YOUR CAPS LOCK.
Don't Threaten. Threats of harming another person will not be tolerated.
Be Truthful. Don't knowingly lie about anyone or anything.
Be Nice. No racism, sexism or any sort of -ism that is degrading to another person.
Be Proactive. Use the 'Report' link on each comment to let us know of abusive posts.
Share with Us. We'd love to hear eyewitness accounts, the history behind an article.