Bill Cosby‘s publicist defended him after he was sentenced to three to 10 years in state prison for sexually assaulting a woman in 2004. Outside the courthouse, the defense team made accusations of racism and sexism, framing their client’s downfall as a flaw of the #MeToo era.

Cosby’s publicist, Andrew Wyatt, said his client’s defeat was part of a “sex war” happening in Washington, D.C., comparing it to accusations of sexual misconduct against Judge Brett Kavanaugh. Wyatt also said “Mr. Cosby knows that God is watching over him. He knows that these are lies,” adding, “They persecuted Jesus and look what happened. Not saying Mr. Cosby is Jesus, but we know what this country has done to black men for centuries. So, Mr. Cosby’s doing fine, he’s holding up well and everybody who wants to say anything negative, you’re a joke as well.”

Wyatt would even say that Cosby, the once beloved actor and comedian, had endured the “most racist and sexist trial” in the country’s history.

Cosby, 81, was sentenced to three to 10 years in prison for drugging and sexually assualting a woman, Andrea Constand, at his home outside Philadelphia in 2004. Constand was formerly a women’s basketball coach at Temple University, where Cosby was a trustee, major donor, and famous alumnus. The night of the attack, he invited her over to his home to talk about her career.

Sixty women have accused Cosby of sexual abuse.

50 CELEBRITIES WHO DIED IN 2018 – TRIBUTE SLIDESHOW

Psychologist Kristen Dudley testified for the prosecution on Monday and said Cosby “fit the criteria” of a sexually violent predator.“ “Using his power and prestige within the community, he is able to meet people, befriend them, and it is during that friendship that the sexual assault occurs,” she said. Dudley added that she felt he was likely to do this again.

Judge Steven O’Neill also ruled that Cosby qualified as a “sexually violent predator” under state law.

Wyatt dismissed the assessment Tuesday, saying that three of the psychologists who testified against Cosby were “white women who make money off accusing black men of being sexual predators.”

Cosby did not speak during the two-day hearing and merely shook his head after O’Neill delivered his sentence. He was denied a request to remain free on bail and was escorted from the courthouse to state prison in handcuffs.