The judge who has been overseeing Bill Cosby's criminal case since its beginning is staying on the case.

Montgomery County Court of Common Pleas Judge Steven T. O'Neill filed an order and opinion Wednesday denying Cosby's motion for disclosure and recusal. Cosby is to be sentenced next week.

O'Neill also ruled in an order Thursday that prosecutors may not produce evidence of “uncharged criminal acts” at sentencing. At trial, prosecutors were allowed to present testimony of other women who Cosby allegedly assaulted. But O'Neill said he found no authority in Pennsylvania that would allow him to consider uncharged conduct in deciding Cosby's sentence.