When state Sen. Eric Schneiderman was running for state attorney general in 2010, both his Democratic primary opponents and later Republican foe in the general election questioned whether an Albany lawmaker could police public public corruption.

After all, Andrew Cuomo had made a name for himself as AG becoming the “sheriff of State Street.”

Nearly four years later, Schneiderman’s office has made 37 public corruption cases at the local and state level.

Many of the cases are for local-level graft involving public employees. But there’s also the case of state Sen. Shirley Huntley, who entered a guilty plea after she was accused of stealing grant funds through a sham non-profit.

That figure also doesn’t include non-elected officials like Willie Rapfogel, a former New York City power broker who pleaded guilty this month to siphoning money from the charity he led, the Metropolitan Council on Jewish Poverty.

Schneiderman’s office on Wednesday announced the indictment of New York City Councilman Ruben Wills, who is accused of stealing thousands of dollars from the New York City Campaign Finance Board and funneling the money through a charity controlled by an alleged accomplice.