Bill Cosby departs after a sentencing hearing at the Montgomery County Courthouse in Norristown, Pa. Prosecutors in the Cosby case are calling his bid for a new trial or sentencing hearing “meritless.” Cosby wants a do-over in the Pennsylvania sex assault case that ended with him going to prison last month to serve a three- to 10-year sentence. File picture: AP Photo/Matt Slocum.

PHILADELPHIA — Bill Cosby's lawyers have filed a list of 11 alleged trial errors as they try to undo his sexual assault conviction and three- to 10-year prison term.

The lawyers filed a motion Tuesday saying Pennsylvania trial Judge Steven O'Neill had a feud with a key pretrial witness, the former county prosecutor who declined to arrest Cosby a decade earlier.

And they say his decisions to let five other accusers testify, air some of Cosby's deposition from the accuser's lawsuit and dismiss the promise not to charge Cosby are grounds for a new trial.

A jury convicted the 81-year-old Cosby this spring of drugging and molesting a woman in 2004, in the first celebrity trial of the #MeToo era.

The legally blind comedian is housed in a new state prison about 20 mile (32 kilometers) from his Philadelphia-area estate.

Associated Press