IE 11 is not supported. For an optimal experience visit our site on another browser.

Cosby attorney: Alleged victim has made 'mockery' of confidentiality agreement

Bill Cosby's attorneys said in a motion filed Tuesday that the alleged victim has "made a mockery" of a confidentiality agreement that was part of a settlement.

Bill Cosby's attorneys said in a motion filed Tuesday that the alleged victim in a federal lawsuit against the embattled comedian has "made a mockery" of a confidentiality agreement that was part of a settlement in the 2006 case.

Excerpts from a deposition that the 78-year-old comedian gave in the case were published Saturday by The New York Times after a judge released parts of them earlier this month. Cosby's representatives have said they have no comment on the article.

WATCH: New details revealed in Cosby's deposition

Cosby said under oath in the 2005-06 deposition that he obtained drugs that he intended to give to women he wanted to have sex with — a revelation that follows years of accusations by more than two dozen women that they were his victims. Cosby has never been criminally charged, and his representatives have repeatedly denied the allegations of sexual assault.

Cosby's attorney, Patrick O'Connor, believes the release of Cosby's deposition transcript violated the terms of the settlement. Noting that the woman is not asking to void the entire settlement agreement, he wrote that "obviously, she wants to keep what she was paid" but that she "cannot simply pick and choose which contractual obligations will be void and which will stand."

Cosby's attorney claimed in the motion that the victim's attorney failed to tell a court reporter that the deposition was confidential, and that, they theorized, led to The Times getting the entire transcript.

As a result, Cosby's attorneys said in their motion, they will seek relief for the alleged violations and ask a judge to strike down efforts by the victim's attorney to release her from the confidentiality agreement. What the relief entails is unclear.

This article first appeared at NBCNews.com