Former Assembly Speaker Sheldon Silver on Tuesday entered a not guilty plea following his indictment on three counts of fraud and extortion.

Silver’s attorney, meanwhile, sought to have a federal judge toss prosecutor’s case from court based on U.S. Attorney Preet Bharara’s “improper” comments on public corruption following Silver’s arrest in January.

Silver is accused of receiving $3.8 million in bribes and kickbacks that he masked as legal referrals from a doctor who was conducting research into asbestos exposure as well as real-estate interests.

“I will only say to you that once this process is over I will be vindicated, I am not guilty,” Silver outside of court.

Silver stepped down from the speaker’s post last month and was replaced by Bronx Democrat Carl Heastie. He retains his seat in the Legislature representing Lower Manhattan.

A trial is expected to begin as early as June.

Silver’s arrest ignited yet another push to enact ethics legislation at the Capitol, with lawmakers and Gov. Andrew Cuomo negotiating new laws that would regulate how outside income is disclosed.