Receive the latest national-international updates in your inbox

Bill Cosby was accused of sexually assaulting former Temple University employee, Andrea Constand. Cosby’s lawyers will return to a Montgomery County courtroom for a second day of pre-trial hearings on Wednesday. NBC10 has the latest. (Published Tuesday, Nov. 1, 2016)

Bill Cosby's lawyers pressed a judge Tuesday to keep the comedian's damaging deposition in a decade-old lawsuit out of his sexual assault trial, saying Cosby agreed to answer questions under oath after being assured he wouldn't be charged with a crime.

The defense has insisted Cosby had an oral promise from the district attorney at the time that he wouldn't be prosecuted over a 2005 sexual encounter with Andrea Constand, a former Temple University basketball manager.

The judge previously refused to dismiss the charges on those grounds, but is now being asked to disallow the deposition when the case goes to trial in June.

A new district attorney had Cosby arrested last year, after the deposition was unsealed and dozens of new accusers came forward.

Could a Pattern Emerge of Alleged Assaults by Bill Cosby?Prosecutors in the Bill Cosby sexual-assault case in suburban Philadelphia will try to prove he went on a "signature" crime spree over a span of decades. (Published Monday, Oct. 31, 2016)

Cosby, now 79 and blind, has said his encounter with Constand was consensual. He could get 10 years in prison if convicted. He is free on $1 million bail.

The "Cosby Show" star once known as America's Dad smiled as he arrived at the suburban Philadelphia courthouse with his entourage.

Judge Steven O'Neill, who is hearing pretrial arguments, said that Cosby's decision to testify could have been strategic. He found no evidence that Cosby's lawyers tried to get the promise in writing before letting him give four days of testimony.

They might have thought it was better for him to testify than plead the Fifth Amendment and have a civil jury think he had something to hide, the judge suggested.

Bill Cosby Through the Years

Defense attorney Brian McMonagle said the judge would set a bad precedent if he let the testimony in.

"I don't want DAs making promises that they don't later keep," McMonagle said. "That strikes at the heart of fundamental unfairness."

Cosby was questioned a decade ago as part of a lawsuit brought against him by Constand. The long-married comedian testified about a series of affairs with young women and said he sometimes gave them pills or alcohol before sex. Constand eventually settled in 2006 for an undisclosed sum.

The pretrial hearing resumes Wednesday, with another hearing on the evidence set for December. O'Neill must also decide if 13 other accusers can testify against Cosby at the trial to show they were drugged and molested in similar fashion.

Cosby's lawyers want the judge to bar such testimony about "prior bad acts," saying prosecutors are reaching back to the "casting couch" era to round up accusers and build a "stale" case. The defense contends the women's memories have been compromised by time, age and widespread news coverage of the case.

"The fact that even the most fervently held memories can actually be tainted — or altogether false — is supported by a vast existing and growing body of science," McMonagle wrote.