Bill Cosby has lost his first bid for a new trial after his sentencing last month for aggravated indecent assault.

In an order Tuesday, Montgomery County Court of Common Pleas Judge Steven T. O’Neill denied a post-sentence motion, in which Cosby asked for a modified sentence and a new trial. Cosby has been sentenced to three to 10 years in state prison based on Andrea Constand’s allegation that he sexually assaulted her in 2004.