Actor Bill Cosby has been sentenced to up to 10 years in jail for sexually assaulting a woman in 2004.
Judge Steven O’Neill sentenced the 81-year-old to three to 10 years behind bars on Tuesday in a Pennsylvania courtroom.
He is the first celebrity of the #MeToo era to be sent to prison.
Prosecutors were seeking a sentence of five to 10 years in prison. Cosby’s defence lawyers asked for house arrest.
Known to millions as America’s Dad, Cosby was convicted in April of drugging and molesting Temple University employee Andrea Constand at his Philadelphia home 14 years ago.
More than 60 women have made similar allegations.
The comedian did not make a statement in court.
He sat back in his chair, with his head on the headrest as the sentence was read.
“It is time for justice. Mr Cosby, this has all circled back to you. The time has come,” Judge O’Neill said.
He quoted from Ms Constand’s own statement to the court, in which she said Cosby took her “beautiful, young spirit and crushed it.”
The punishment came at the end of a two-day hearing at which the judge declared Cosby a “sexually violent predator” – a modern day scarlet letter which will subject him to monthly counselling for the rest of his life.
It also means that neighbours and schools will be notified of his whereabouts.
Cosby’s lawyers asked for house arrest, saying Cosby, who is legally blind and walks with a cane, is too old and vulnerable to do time in prison.
But prosecutors pressed for five to 10 years behind bars, claiming he could still pose a threat to women.
Montgomery Count District Attorney Kevin Steele rejected the idea that Cosby’s age and failing health entitled him to mercy.
He said: “He was good at hiding this for a long time. Good at suppressing this for a long time. So it’s taken a long time to get there.
The sentencing came as another #MeToo drama unfolded on Capitol Hill, Washington, DC, where Supreme Court nominee Brett Kavanaugh stands accused of sexual misconduct more than 30 years ago.
When the ruling was announced, a woman was reported to have shot her fist in the air and whispered, “Yes!”
Ms Constand, now 45, said she has suffered from anxiety and self-doubt for years in a statement submitted to the court.
She said she now lives alone with her two dogs and has trouble trusting people.
“When the sexual assault happened, I was a young woman brimming with confidence and looking forward to a future bright with possibilities,” she wrote in her five-page statement.
“Now, almost 15 years later, I’m a middle-aged woman who’s been stuck in a holding pattern for most of her adult life, unable to heal fully or to move forward.”
Protesters shouted at Cosby as he entered the Pennsylvania courthouse with his spokesman on Monday.
Prosecutors called on some of Cosby’s other accusers as they pushed for a lengthy sentence, with a number of them, including model Janice Dickinson, present at the sentencing hearing.
Five other accusers took the stand at the trial as part of an effort by prosecutors to portray him as a predator.