A Montgomery County judge has ruled in Bill Cosby’s criminal case that prosecutors may reference evidence from a 2005 civil deposition in which Cosby admitted to using Quaaludes to have sex with a woman. But other references to the civil case will be prohibited.

Montgomery County Court of Common Pleas Judge Steven T. O’Neill issued two orders April 28 on evidence in Cosby’s criminal case. He granted the Montgomery County district attorney’s motion to introduce evidence from the deposition, but denied the prosecutors’ request to introduce evidence from a book and a television interview in which Cosby referenced what he called an aphrodisiac, “Spanish Fly.”