Bill Cosby arrived at court Tuesday to try to get the sexual assault charges against him thrown out because of what his lawyers say was a binding commitment by a previous district attorney not to prosecute him a decade ago.
The current district attorney has said he has no record of such an agreement.
Cosby, 78, emerged from a black SUV just before 9 a.m., dressed in a tan suit and tie. Two men held his arms for support as he walked up a ramp to the Montgomery County Courthouse, and one carried Cosby's cane. The comedian chatted with his handlers while ignoring reporters' questions.
Cosby is accused of drugging and violating former Temple University athletics employee Andrea Constand at his suburban Philadelphia mansion in 2004.
In a barrage of allegations that have destroyed Cosby's image as America's Dad, dozens of women have accused the former TV star of drugging and sexually assaulting them since the 1960s. But this is the only case in which he has been charged.
Cosby's lawyers contend that he had a deal with then-District Attorney Bruce L. Castor Jr. in 2005 that he wouldn't be prosecuted and that he could testify freely in Constand's civil lawsuit. Castor said at the time that there was insufficient evidence to charge Cosby.
Damaging testimony from that lawsuit was released last summer, prompting Castor's successors to reopen the case and ultimately charge Cosby. He could get 10 years in prison if convicted.
Cosby admitted in the deposition that he had affairs with young models and actresses, that he obtained quaaludes to give to women he wanted to have sex with and that he gave Constand three pills at his home. He said he reached into her pants in what he insisted was consensual contact.
In an unusual twist, Castor was slated to be the defense's key witness at Tuesday's hearing. Castor has insisted that he worked out an oral "non-prosecution" agreement in 2005 with Walter M. Phillips Jr., a Cosby lawyer who died last year.
Kevin Steele, the newly elected DA who is pursuing the case, has said Cosby would need an immunity agreement in writing to get the case thrown out. He has said he has no evidence one exists.
Anne Poulin, a law professor at Villanova University, said the defense has a high bar to meet to get the case thrown out early on. But "if they can win without this ever going to trial, then they've done their client a big service."
It was not immediately clear when Common Pleas Judge Steven T. O'Neill would rule.