Former Suffolk County prosecutor Gary Zerola was arraigned on rape charges on Wednesday in Boston Municipal Court, according to the Middlesex District Attorney’s office.

Zerola, 45, was charged with two counts of rape in connection with an alleged sexual assault on Nov. 10 at 6 a.m., according to a statement from Elizabeth Vlock, spokeswoman for Middlesex DA Marian Ryan.

Zerola, who also worked as a prosecutor in Essex County, now is in private practice in Boston. He did not immediately return a call from the Globe seeking comment.