Bill Cosby admitted in a 2005 deposition that he obtained Quaaludes with the intent of giving them to young women he wanted to have sex with. He admitted giving the sedative to at least one woman.

The Associated Press went to court to compel the release of the documents, and they were made public Monday. 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. More than a dozen women have since accused him of sexually assaulting them. Some believe they were also drugged. Cosby has never been criminally charged, and most of the accusations are barred by statutes of limitations.

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

Meantime, Cosby’s admission that he obtained quaaludes to give young women he was pursuing for sex could bolster defamation claims lodged by his accusers, the women’s lawyers said after The Associated Press reported on newly released court documents.

Cosby, 77, has been accused by more than two dozen women of sexual misconduct in episodes dating back more than four decades. He has never been charged with a crime, and the statute of limitations on most of the accusations has expired.

Nevertheless, attorneys for some of the numerous women suing Cosby seized on the testimony as powerful corroboration of what they have been saying all along: that he drugged and raped women.

“The women have been saying they’ve been drugged and abused, and these documents appear to support the allegations,” said lawyer Joe Cammarata, who represents accuser Therese Serignese, one of three women suing Cosby for defamation in Massachusetts. She has also agreed to have her name published.

Celebrity attorney Gloria Allred, representing other women, said she also hopes to use the admission in civil court cases against the comedian.