Attorney General Eric Schneiderman called public corruption a “cancer in state government” and defended on Friday at a press conference his prosecution of a state lawmaker and his predecessor.

Schneiderman’s office is prosecuting Sen. Robert Ortt, who is charged with three felony fraud counts stemming from his wife receiving a no-show job. The man who held his post before him, ex-Sen. George Maziarz, faces five counts of filing a false instrument as well.

Ortt angrily rebutted the charges on Thursday after his arraignment, calling the case a “political” witch hunt against him by Schneiderman.

Schneiderman, however, noted he has prosecuted Democrats in the past, including ex-Sen. Shirley Huntley and political operative Steve Pigeon.

“This is an investigation that has been ongoing that started with a referral from the Board of Elections,” he said. “The notion this is a political effort is completely at odds with the facts.”

Schneiderman also dismissed any questions over whether he would have to step up his office’s anti-corruption work with the departure of Preet Bharara as U.S. attorney. Schneiderman’s office worked with Bharara on several cases, including a sweeping bribery and bid-rigging cases that drew in charges for a former top aide to Gov. Andrew Cuomo and upstate developers, as well as the ex-president of SUNY Nano.

“We’ve been proceeding with these cases all along. We’re going to do that and we will work with whoever is in place,” Schneiderman said. “Certainly, I had a good working relationship with Preet and wish him well, but the work of the office goes on. The work of investigating corruption goes on.”