A Montana judge apologized Wednesday for saying a 14-year-old rape victim was “older than her chronological age” and had as much control of the situation as the teacher who raped her — remarks that prompted protests and a petition for his resignation.

District Judge G. Todd Baugh made the comments Monday while sentencing former Billings Senior High School teacher Stacey Rambold to a 15-year prison sentence then suspending all but 31 days and giving him credit for one day already served.

Yellowstone County officials previously agreed to defer Rambold’s prosecution for three years and dismiss the charges if he completed a sexual offender treatment program. The case was revived in December after prosecutors learned Rambold, 54, was kicked out of the program for having unsupervised visits with minors who were family members and not telling counselors he was having a sexual relationship with a woman.

Defense attorney Jay Lansing said Rambold has continued his treatment with a different program and an evaluation found him at low risk to re-offend.

The judge said he wasn’t convinced that the reasons for Rambold’s exit from the program were serious enough to warrant the 10-year prison term recommended by prosecutors.

Faced with backlash over his comments and the sentence that protesters considered too light, Baugh wrote an apology in a brief letter to the editor to The Billings Gazette.

“I’m not sure just what I was attempting to say but it did not come out correct,” he wrote. “What I said is demeaning of all women, not what I believe and irrelevant to the sentencing. My apologies to all my fellow citizens.”

“I will add an addendum to the court file to hopefully better explain the sentence,” he added.

A protest scheduled for today outside Yellowstone County Courthouse will go on despite the apology, said organizer Sheena Rice, stressing that it’s important for the community to show it is not going to stand for victim blaming.

“I’m glad he apologized, but he should have known better as a judge,” Rice said. “The fact that he said it makes me think he still believes it.”

A petition will be circulated at the protest calling for Baugh’s resignation. An online version of the petition had more than 8,500 signatures by Wednesday morning.

If the petition and protest aren’t enough to force Baugh’s resignation, protesters will shift to defeating him in the 2014 election, Rice said.

He was first elected to the bench in 1984 and has been re-elected every six years since then without an opponent.

Rambold was charged in October 2008 with three counts of sexual intercourse without consent after authorities alleged he had an ongoing sexual relationship with Cherice Moralez, starting the previous year when she was 14. The teenager killed herself in 2010 at age 16 while the case was pending.

Cherice’s mother, Auleia Hanlon, said in a statement to the Gazette that she no longer believes in justice after Baugh’s sentence and remarks about her daughter.

“She wasn’t even old enough to get a driver’s license. But Judge Baugh, who never met our daughter, justified the paltry sentence saying she was older than her chronological age,” Hanlon said. “I guess somehow it makes a rape more acceptable if you blame the victim, even if she was only 14.”

Under state law, children younger than 16 cannot consent to sexual intercourse.

Yellowstone County Attorney Scott Twito previously said he disagreed with the judge’s ruling but would not appeal it.

“The judge’s reasons are his reasons and his reasons alone. He has broad authority under state law, given the proper criteria,” Twito said Tuesday.