BILLINGS, Mont. (AP) — A teacher who spent just a month in prison for the rape of a 14-year-old student is going back to court to be resentenced after the original judge in the case was censured over comments that placed some responsibility on the victim.

Defendant Stacey Dean Rambold is seeking two years in state custody on Friday with another two years suspended for the 2007 rape of a freshman at Billings Senior High School.

His earlier monthlong sentence from Judge G. Todd Baugh was declared illegal.

In a letter to the court, the 55-year-old former business teacher said the international attention his case received made him an object of hate and disgust.

Prosecutors want a 10-year prison sentence with another 10 years suspended.

The victim killed herself while the trial was pending.