PHOTO: Pennsylvania Dept. of Corrections
Now playing
00:45
This is where Bill Cosby is going to prison
Bill Cosby is taken away in handcuffs after he was sentenced to three-to 10-years for felony sexual assault on Tuesday, Sept. 25, 2018, in Norristown, Pa.  (Mark Makela/Pool Photo via AP)
PHOTO: Mark Makela/Pool/AP
Bill Cosby is taken away in handcuffs after he was sentenced to three-to 10-years for felony sexual assault on Tuesday, Sept. 25, 2018, in Norristown, Pa. (Mark Makela/Pool Photo via AP)
Now playing
01:12
See Bill Cosby leave court in handcuffs
NORRISTOWN, PA - SEPTEMBER 24: Actor and comedian Bill Cosby returns to the courtroom after a break with his spokesman Andrew Wyatt at the Montgomery County Courthouse, during his sexual assault trial sentencing in Norristown, Pennsylvania, U.S. September 24, 2018. (Photo by David Maialetti/Pool/Getty Images)
PHOTO: David Maialetti/Pool/Getty Images
NORRISTOWN, PA - SEPTEMBER 24: Actor and comedian Bill Cosby returns to the courtroom after a break with his spokesman Andrew Wyatt at the Montgomery County Courthouse, during his sexual assault trial sentencing in Norristown, Pennsylvania, U.S. September 24, 2018. (Photo by David Maialetti/Pool/Getty Images)
Now playing
00:48
Cosby sentenced to 3 to 10 years
Attorney Gloria Allred speaks about the sentencing of comedian Bill Cosby on 9/25.
PHOTO: WPVI
Attorney Gloria Allred speaks about the sentencing of comedian Bill Cosby on 9/25.
Now playing
00:59
Allred: Judgment day has come for Cosby
Montgomery County District Attorney Kevin Steele speaks after Bill Cosby sentencing.
PHOTO: WPVI
Montgomery County District Attorney Kevin Steele speaks after Bill Cosby sentencing.
Now playing
00:59
Prosecutor: Andrea Constand never waivered
Now playing
00:56
Cosby accuser gets emotional after sentencing
PHOTO: CNN
Now playing
02:06
Accuser: I saw violence in Bill Cosby
Actor and comedian Bill Cosby (C) comes out of the Courthouse after the verdict in the retrial of his sexual assault case at the Montgomery County Courthouse in Norristown, Pennsylvania on April 26, 2018. - Disgraced television icon Bill Cosby was convicted Thursday of sexual assault by a US jury -- losing a years-long legal battle that was made tougher at retrial as the first celebrity trial of the #MeToo era. (Photo by Dominick Reuter / AFP)        (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
PHOTO: DOMINICK REUTER/AFP/Getty Images
Actor and comedian Bill Cosby (C) comes out of the Courthouse after the verdict in the retrial of his sexual assault case at the Montgomery County Courthouse in Norristown, Pennsylvania on April 26, 2018. - Disgraced television icon Bill Cosby was convicted Thursday of sexual assault by a US jury -- losing a years-long legal battle that was made tougher at retrial as the first celebrity trial of the #MeToo era. (Photo by Dominick Reuter / AFP) (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
Now playing
01:50
Bill Cosby faces up to 30 years for assault
US comedian Bill Cosby leaves December 30, 2015 the Court House in Elkins Park, Pennsylvania after arraignment on charges of aggravated indecent assault. Cosby was arraigned over an incident that took place in 2004 -- the first criminal charge filed against the actor after dozens of women claimed abuse.AFP PHOTO/KENA BETANCUR / AFP / KENA BETANCUR        (Photo credit should read KENA BETANCUR/AFP/Getty Images)
PHOTO: KENA BETANCUR/AFP/AFP/Getty Images
US comedian Bill Cosby leaves December 30, 2015 the Court House in Elkins Park, Pennsylvania after arraignment on charges of aggravated indecent assault. Cosby was arraigned over an incident that took place in 2004 -- the first criminal charge filed against the actor after dozens of women claimed abuse.AFP PHOTO/KENA BETANCUR / AFP / KENA BETANCUR (Photo credit should read KENA BETANCUR/AFP/Getty Images)
Now playing
04:04
Cosby accuser: I'd like him to own up ...
PHOTO: NBC/"Dateline"
Now playing
01:05
Accuser: I forgave Bill Cosby to find peace
cosby juror
PHOTO: ABC
cosby juror
Now playing
01:09
Juror on what sealed Cosby's fate
Bill Cosby departs after a pretrial hearing in his sexual assault case at the Montgomery County Courthouse in Norristown, Pa., Tuesday, Aug. 22, 2017. Cosby's retrial will be delayed as his new legal team gets up to speed on the case. (AP Photo/Matt Rourke)
PHOTO: Matt Rourke/AP/FILE
Bill Cosby departs after a pretrial hearing in his sexual assault case at the Montgomery County Courthouse in Norristown, Pa., Tuesday, Aug. 22, 2017. Cosby's retrial will be delayed as his new legal team gets up to speed on the case. (AP Photo/Matt Rourke)
Now playing
02:13
Bill Cosby found guilty of sexual assault
Bill Cosby arrives for his sexual assault trial, Wednesday, April 25, 2018, at the Montgomery County Courthouse in Norristown, Pa. (AP Photo/Matt Slocum)
PHOTO: Matt Slocum/AP
Bill Cosby arrives for his sexual assault trial, Wednesday, April 25, 2018, at the Montgomery County Courthouse in Norristown, Pa. (AP Photo/Matt Slocum)
Now playing
02:40
Cosby had an emotional outburst in court
cosby verdict emotion
cosby verdict emotion
Now playing
01:31
Watch Cosby accusers react to verdict
PHOTO: Getty Images
Now playing
01:38
Highs and lows of Cosby's career
(CNN) —  

Actor Bill Cosby wants to be released on bail while he appeals his conviction for aggravated indecent assault, and his lawyers say in a motion filed Wednesday that his trial judge “trampled” on his rights.

Attorneys for Cosby, who’s serving three to 10 years in a state prison for drugging and sexually assaulting Andrea Constand at his home 15 years ago, filed their motion with the Pennsylvania Superior Court.

The motion said Montgomery County, Pennsylvania, Judge Steven O’Neill’s failure to file a post-trial opinion has delayed the appeals court from reviewing his conviction and sentence.

The 81-year-old actor/comedian once known as “America’s dad” was sentenced in September 2018. He has maintained his innocence in all allegations of sexual assault.

“Mr. Cosby’s right to have his appeal heard in a timely manner by this court is being trampled by the lower court’s inordinate delay in issuing his … opinion,” the motion said.

The motion said Cosby’s appeal “raises a number of meritorious claims of error” and that bail is justified given his advanced age and “the strong likelihood that his conviction will not stand on appeal.”

Cosby also issued a statement through his legal team accusing O’Neill of displaying “disgust and prejudice” against the ex-TV star. Last year, Cosby’s spokesman called the prosecution “the most racist and sexist trial in the history of the United States.”

The communications director for the Pennsylvania state courts told CNN on Wednesday that the motion was being reviewed.

In the statement, Cosby’s attorneys asked that the “scandalous judge be removed immediately, and Mr. Cosby be granted bail throughout the appeals process, because the judge’s racial hatred towards Mr. Cosby clouds his better judgment to be a good steward of the bench.”

Cosby also was quoted in the statement, calling his trial judge “complicit in the corruption against me” and “an accessory to the incestuous behavior that resides in Montgomery County.”

“I’m just so happy, because this guy is proving my innocence,” Cosby said. “And guess what else. America is finally getting to witness the truth.”

The Montgomery County District Attorney’s Office declined comment on the statement.

Cosby is imprisoned at SCI Phoenix, a maximum security prison outside Philadelphia. He was recently moved to the prison’s general population. In February, he called himself a “political prisoner.”