Bill Cosby is set to return to court before year's end for a retrial beginning Nov. 6.

Montgomery County Court of Common Pleas Judge Steven T. O'Neill filed an order Thursday scheduling the new trial for Cosby, who faces three counts of aggravated indecent assault for allegedly sexually assaulting Andrea Constand in 2004. His case went to trial in June, but ended in a mistrial when 12 jurors from Allegheny County declared they were hopelessly deadlocked after more than 52 hours of deliberations.

When O'Neill declared the mistrial, Montgomery County District Attorney Kevin Steele immediately said he planned to retry the case.