A federal judge has unsealed a number of documents revealing information about Bill Cosby's 2006 settlement with Andrea Constand over allegations of sexual assault and other claims.

The documents, which include motions and answers from both sides, contain portions of Cosby's deposition. According to one motion, Cosby testified he obtained seven prescriptions for Quaaludes, a depressant, and he answered that he intended to use Quaaludes to have sex with a woman.

U.S. District Judge Eduardo C. Robreno of the Eastern District of Pennsylvania issued an order Monday granting a motion from The Associated Press to intervene and obtain access to documents filed under seal. The court lifted a seal on 16 documents in the docket.