The Associated Press has obtained documents in which Bill Cosby admitted, under oath, to using drugs to have sex with women.

After denying accusations from more than 30 women who have accused him of rape, sworn testimony from Bill Cosby reveals the comedian admitted to giving drugs to women he wanted to sleep with.

Cosby bought Quaaludes with the intent of giving them to women he wanted to have sex with which falls in line with the multiple stories his accusers have told describing how the comedian drugged then raped them.

The comedian admitted he followed through with giving the drugs to at least one woman and "other people."

The AP had gone to court to compel the release of the documents; Cosby's lawyers had objected on the grounds that it would embarrass their client.

The 77-year-old comedian was testifying under oath in a lawsuit filed by a former Temple University employee. He testified he gave her three half-pills of Benadryl.

Cosby settled that sexual-abuse lawsuit for undisclosed terms in 2006. His lawyers in the Philadelphia case did not immediately return phone calls Monday.

Other details reveal that Cosby admitted to obtaining seven prescriptions for Quaaludes.

Q. When you got the Quaaludes, was it in your mind that you were going to use these Quaaludes for young women that you wanted to have sex with?

A. Yes.

Cosby also describes a time when he actually gave the drugs to a woman in Las Vegas.

A. I meet Ms (Redacted) in Las Vegas. She meets me back stage. I give her Quaaludes. We then have sex. I do not I can’t judge at this time what she knows about herself for 19 years, a passive personality.

TMZ reported that Cosby's attorneys tried to have the testimony blocked when the AP filed docs asking the court to release the testimony because they believed the material would "embarrass him."

Though Cosby has been accused of sexual assault by multiple women he has yet to be criminally charged.

Reps for Cosby have released a statement to ABC.

The only reason Mr. Cosby settled was because it would have been embarrassing in those days to put all those women on the stand and his family had no clue. That would have been very hurtful.

Read the full statement here.

More From Hot 107.9