The two men who oversaw prosecution of the pay-to-play pension fund scandal that resulted in former comptroller Alan Hevesi’s jail sentence today both said the penalty should serve as a warning against other public officials seeking favors and gifts while in office.

Gov. Andrew Cuomo, who as attorney general investigated and successfully had Hevesi plead guilty just before taking office as governor said the punishment shows public corruption will not to be tolerated.

“Public integrity was my top priority as New York Attorney General and it is as Governor. For government to work, it must have the trust of the people. Those who hold public office must safeguard that trust, and those who violate their oath must incur just punishment. It is a new day in Albany and the old way of doing business will not be tolerated.

Cuomo successfully prosecuted eight people in the pension-fund scandal, including political consultant Hank Morris and Hevesi’s chief investment officer, David Loglisci. In addition to recovering $170 million, Cuomo fined the high-powered lobbying firm run by Patricia Lynch for $500,000 and banned her from appearing before the comptroller’s office for five years.

Update: A reader points out that it’s also fair to mention political consulting firm Global Strategy was hit with an even larger, $2 million fine for its role in the scandal, as was Quadrangle LLC, which was fined $7 million; GKM Newport Generation Capital Services, LLC was fined the equivalent of $1.6 million; California lobbying firm Platinum Advisors was fined $500,000; and unlicensed placement agent Kevin McCabe, $715,000.

Schneiderman, who inherited the case from Cuomo, successfully recommended the maximum penalty for Hevesi. In his statement, Schneiderman said the punishment fit the crime.

“Today, Alan Hevesi was appropriately punished for abusing his position as New York’s Comptroller,” Schneiderman said. “Hevesi brazenly sold access to New York Pension Fund investments—a betrayal of the public trust that went to the heart of his duties as Comptroller. Today’s sentencing decision will help achieve my office’s principal objective of restoring New Yorkers’ faith in their state government. I’d like to thank Governor Cuomo and his team in the Attorney General’s Office for their work on this matter.”