In a now-unsealed 2005 deposition, comedian Bill Cosby admitted to administering a sedative to at least one woman and to purchasing quaaludes he intended to give to women with whom he wanted to have sex.

The Associated Press had gone to court to compel the release of the documents from a sexual abuse lawsuit filed by former Temple University employee Andrea Constand. It was the first lawsuit filed against Cosby alleging sexual abuse. The suit was settled for an undisclosed sum in 2006. Since then, more than a dozen women have accused him of sexually assaulting them.

In June, Cosby's attorneys argued that he was not a "public figure" and that, even though the law in Pennsylvania (where the lawsuit was filed) allows for documents to be reviewed for unsealing after two years, there was no "public interest" in releasing the documents.

Later in the brief, they also lean on his celebrity, stating: "The AP undertakes this effort not to shine the light of public scrutiny on the judicial process or any matter of legitimate public concern, but rather to sell copy about a celebrity sex scandal."

The AP, though, countered in its brief — embedded below — that "defendant’s fear of embarrassment and humiliation is insufficient to support a finding a good cause."

In the deposition, Cosby testified that he had purchased quaaludes in the 1970s, though the question whether he gave them to anyone is never fully answered, according to the AP. Cosby later admits that he gave Constand three half-pills of Benadryl. Two other women, testifying on her behalf, claimed Cosby had given them quaaludes.

An excerpt from a 2005 deposition given by entertainer Bill Cosby Image: Matt Rourke/Associated Press

An excerpt from a 2005 deposition given by entertainer Bill Cosby Image: Matt Rourke/Associated Press

Some of the women who have come forward to accuse Cosby believe they were also drugged. Cosby has never been criminally charged, and most of the accusations are barred by statutes of limitations. New light was brought to Cosby's alleged assaults after a video of comedian Hannibal Buress chastising Cosby during a stand-up routine went viral last year.

In the wake of the accusations, Cosby has had performances canceled and protested, and faced hecklers at other appearances. He has continued to maintain his innocence even while apparently trying to make light of the situation.

"You have to be careful about drinking around me," Cosby just said to a woman in the crowd. Loud gasps from the audience. — Richard Warnica (@richardwarnica) January 9, 2015

It's also not the first time Cosby has tussled with The Associated Press. Following an interview with the outlet last November, the comedian requested that parts of the interview addressing the rape allegations be "scuttled," which the AP refused to do, releasing the footage.

Despite a growing list of accusations, Cosby has yet to be criminally charged in any of the cases; many of the alleged attacks now fall outside of statutes of limitations. He is, though, facing a trio of defamation suits.

Attorney Gloria Allred, who is representing over a dozen of Cosby's accusers, said in a statement to the AP, "this confirms the allegations of numerous victims who have alleged that he had used drugs to sexually assault them." She also hopes to use this admission in other cases involving Cosby.

Cosby's lawyers in the Philadelphia case did not immediately return the AP's phone calls.

Additional reporting by The Associated Press.