Bill Cosby Arraigned for Alleged Aggravated Indecent Assault

Bill Cosby was hit today with aggravated indecent assault charges stemming from an alleged 2004 incident in Pennsylvania, according to prosecutors and court documents.

After a brief court appearance, the 78-year-old comedian was released on $1 million bail and the judge wished him "good luck." Following court, Cosby was processed and had his mug shot taken at the Cheltenham Police Department.

Cosby entered the courtroom in Elkins Park, Pennsylvania, around 2:30 p.m., walking arm-in-arm with his legal team. He is set to appear in court on Jan. 14 and was released on $1 million bond.

Kena Betancur/AFP/Getty Images

Bill Cosby arrives to the Court House in Elkins Park, Pa. to face a charge of aggravated indecent assault, Dec. 30, 2015.

Cosby also turned over his passport to the court and did not enter a plea.

"The charge by the Montgomery County District Attorney's office came as no surprise, filed 12 years after the alleged incident and coming on the heels of a hotly contested election for this county's DA during which this case was made the focal point," said Cosby's attorney, Monique Pressley, in a statement to ABC News. "Make no mistake, we intend to mount a vigorous defense against this unjustified charge and we expect that Mr. Cosby will be exonerated by a court of law."

The famed comedian has always maintained his innocence since being accused more than 10 years ago by former Temple University employee Andrea Constand of sexual assault. With that case about to reach the statute of limitations next month, First Assistant District Attorney Kevin Steele said his office had decided to proceed with the second-degree felony charge.

"We examined all the evidence and we made this determination because it was the right thing to do," he said during a press conference this morning.

In 2005, Constand claimed that after she and Cosby became friends, he invited her to his home in Pennsylvania, where he made multiple sexual advances over time. She claimed that on one occasion in early 2004 he gave her pills and wine, which made her unresponsive and unable to move. At that point, Cosby allegedly sexually assaulted Constand.

Constand and Cosby eventually settled out of court for an undisclosed amount, but the district attorney in Montgomery County at the time decided not to press criminal charges.

Steele said earlier today that authorities decided to pursue charges after new information came to light this July. U.S. District Judge Eduardo Robreno unsealed Cosby's deposition regarding the decade-old case this summer, in which he admitted to giving Quaaludes to a woman with whom he wanted to have sex, according to the deposition.

Cosby has been accused by dozens of women of sexual misconduct, with many of them coming forward in the past year. The former TV star fired back last month against seven of his accusers, filing a defamation counter-suit in U.S. District Court.

If convicted, Cosby faces up to 10 years in prison and a $25,000 fine.