A state bill that could potentially release hundreds of locked-up murderers, rapists and other hardened felons is incensing New York City law enforcement officials who say it would undo years of crime-fighting.

The “elder parole” bill, which would grant parole eligibility to all inmates ages 55 and up who have been in prison at least 15 years, is “outrageous and idiotic,” said Staten Island District Attorney Michael McMahon.

The legislation would even extend to those serving life without parole, a group which includes famed criminals such as '90s serial killer Joel Rifkin, the Queens Wendy’s massacre mastermind John Taylor, and Bronx child rapist Clarence Moss, the New York Post reports.

The legislation has already moved through crime committees in both the Senate and Assembly — becomes law.

 “The legislation doesn’t make parole decisions, it just allows older incarcerated New Yorkers the chance at parole,” Sen. Brad Hoylman (D-Manhattan) said.