A judge ruled on Wednesday to not dismiss Judy Huth's civil suit against Bill Cosby, in which she accuses the 78-year-old comedian of molesting her in 1974 when she was 15 years old.
This means Cosby will now have to testify this Friday. However, Judge Craig D. Karlan approved an order to seal the deposition for 60 days, and continued the hearing on the protective order until Dec. 22, so the court can view the portions of the deposition transcript and the arguments of council to decide which portions may or may not be kept confidential.
Cosby's attorneys previously filed sanctions to dismiss Huth's case and asked that she be ordered to pay $45,000, on the grounds that she filed her suit improperly in December 2014. Cosby's attorney, Martin Singer, argued the lawsuit improperly included Cosby's name.
WATCH: Bill Cosby Ordered to Testify in Sexual Assault Case
Huth's attorney, Gloria Allred, spoke about her big win in court on Wednesday.
"We're very happy about the sanctions decision by the court because that could have ended the case but it did not," Allred told ET. "We're moving forward."
While Cosby's questioning will take place on Friday, Huth's is on Oct. 15. Huth claims that The Cosby Show star forced her to do a sex act on him while they were at the Playboy Mansion in 1974.
While numerous women have come forward claiming they were sexually assaulted by Cosby, the majority of them cannot proceed in court due to the statute of limitations laws for such claims. But since Huth is alleging that Cosby sexually abused her as a minor, her case can be heard.
This isn't the first time a Cosby deposition has made headlines. Cosby admitted in 2005 that he obtained Quaaludes to give to "young women" that he "wanted to have sex with" when he testified under oath in a deposition made during a lawsuit filed by a former Temple University employee, according to court documents obtained by ET in July. The suit was settled on undisclosed terms in 2006.
Over 50 women have now accused the embattled comedian of sexual assault. Allred says that she has heard from more accusers that have not gone public yet.
Cosby has never been charged with a crime, and maintains his innocence.
WATCH: Bill Cosby's Accusers -- 35 Women Speak Out in Powerful 'New York Magazine' Cover Story
Last week, three new Cosby accusers came forward, including a former Mrs. America. Watch below: