A white judge’s racial disparity in sentencing people of color caused a Black Wisconsin state senator to issue a scathing lecture to the judge who gave a lenient sentence to an admitted white rapist.

Protestors clash with Alt-Right at racist rally organized by senate candidate

Alec Cook,  a 22-year-old former University of Wisconsin-Madison student was handed a light-weight three year prison sentence by Judge Stephen Ehlke for raping three female students.

Cook pleaded guilty to sexually assaulting three women, as well as stalking and choking two others, WGN 9 reported.

However, when it came to the case of a 16-year-old black teen, Adore Thomas, the same judge issued a heavy-handed sentence of 20 years for sexual assaulting one woman.

According to Atlanta Black Star, Senator Lena Taylor blasted the judge for the obvious racial bias.

“Three years is equal to roughly a seven month sentence for each of Cook’s victims, not to mention the 12 other dropped charges ranging from sexual assault to false imprisonment,” Taylor wrote in a statement to the Milwaukee Democrat.

“What kind of a message are we sending to these women with this degree of leniency?”

“Judge Ehlke let a serial rapist off the hook, plain and simple,” she added.

Cook was facing a 40-year sentence but Taylor said Ehlke “thought Cook was special.”

She continued: “The question we have to ask is ‘why?’ ” she wrote. “Cook, who kept over 20 journals of detailed information on his would-be victims, got three years, but the same judge got sentenced 16-year-old African-American teen Adore Thomas to 20 years in prison for the sexual assault of one woman.”

“The disparity in sentencing in these cases is deeply troubling,” Taylor continued. “I highly recommend that Judge Ehlke read The Sentencing Project’s report ‘The Color of Justice: Racial and Ethnic Disparities In State Prisons.’ ”

Poet who performed at Meghan Markle and Prince Harry wedding strip searched by police

According to the Wisconsin State Journal, Ehlke struggled “with the right thing to do.”

“What I want them to know is I listened to those voices very carefully,” the judge said.

“I want them to know that it’s OK if they didn’t agree with me on some of the motions that have been referred to. … But what I do want them to know is I tried my level best in this case and every case that I have before me to be fair to everyone.”

State Attorney General Brad Schimel also criticized the sentence in a statement.

“The Wisconsin Department of Justice is disappointed that Alec Cook did not receive the much longer sentence the prosecution team recommended, and we still believe that is what Alec Cook deserves,” Schimel said, adding that he hoped the fact that Cook was headed to prison “will give survivors faith that there are people in the criminal justice system who stand ready to fight for justice for them.”