Bill Cosby has been behind bars for over a year now and based on the latest ruling on his case, he won't be going anywhere anytime soon.

On Tuesday, Pennsylvania judges unanimously rejected Cosby's appeal to overturn his 2018 sexual assault conviction. While this decision was clearly not what the 82-year-old wanted, he is apparently still in good spirits.

"Mr. Cosby remains hopeful and he stands behind his innocence," Andrew V. Wyatt, a spokesman for the comedian, told Radar Online.

READ: Bill Cosby Update: Wife Halts Divorce, Doing This Shocking Thing Instead

Cosby's legal team attempted to get the conviction overturned based on multiple grounds, the main one being "the trial judge's decision to let five other accusers of uncharged crimes testify against him to bolster prosecutors' argument that Cosby had engaged in a pattern of 'prior bad acts,'" reports USA Today. The court, however, dismantled that claim in its 94-page ruling.

"For all the aforementioned reasons, we conclude that the trial court did not abuse its discretion by admitting the (prior bad acts) evidence and, therefore, Appellant’s first claim lacks merit," the ruling concluded.

The comedian, who was once referred to as "America's Dad," was convicted on three counts of aggravated indecent assault in April 2018 and is currently serving a three to 10-year sentence at SCI Phoenix Penitentiary located in Montgomery County, Pennsylvania. He was also hit with a $25,000 fine for his crimes. At the moment, the earliest that Cosby could be released is Sept. 25, 2021.

Bill Cosby
Bill Cosby is seen leaving the Montgomery County Courthouse on the first day of sentencing in his sexual assault trial in Norristown, Pennsylvania, on Sept. 24, 2018. Getty Images/Mark Makela