The jury was unable to reach a verdict after six days.
The judge in the Bill Cosby sexual assault case declared a mistrial on Saturday after a juror were "hopelessly deadlocked" and failed to reach a verdict.
The jury, which consisted of seven men and five women, was unable to reach a decision after six days of deliberations since Monday, according to reports.
Cosby, 79, was accused of drugging and molesting Andrea Constand, a former employee of Temple University, at his home near Philadelphia in 2004.
Cosby faced three charges of aggravated indecent assault. He pleaded not guilty. Cosby lawyers argued that the sex was consensual while prosecutors argued that the actor drugged Constand so that he could assault her.
"Justice is alive in Montgomery County," Cosby's attorney, Brian McMonagle, said outside of the courthouse. "We wanted an acquittal, but like the Rolling Stones song says, you can't always get what you want; sometimes you get what you need."
During the week-long trial, Cosby, 79, never took the stand, but excerpts from his 2005 to 2006 depositions in a civil suit brought on by Constand were read aloud, according to ABC News.
Read: Bill Cosby's Wife MIA in Second Day of His Sexual Assault Trial; Star Witness Takes Stand
Constand is among dozens of women who have come forward over the past years saying that Cosby drugged and raped or sexually assaulted them. However, the statues of limitations had reportedly expired in many of those instances.
Prosecutors have already announced that they plan to pursue a re-trial, reports said.
DA Steele announces we will retry this case.
— Montgomery County DA (@MontcopaDA) June 17, 2017
In regards to the re-trial, McMonagle said, "he has to say he's going to retry. But why keep costing these citizens millions of dollars?"
This is a breaking news story.
Watch: Bill Cosby Asked Sex Assault Accuser Andrea Constand to Change Hair, Court Hears