The City of New York is taking heat after dozens of newly hired police officers turned out to have criminal records.

An investigation into the hirings revealed that former commanding officer NYPD Inspector Terrell Anderson hired about 31 criminals and gave them badges, the Daily Mail reported.

The criminals were let into the training academy even though they had criminal records, and in some cases even failed the psychological tests meant to screen out nuts and whackjobs.

One aspiring officer was even found to have three arrests to their name, but was recruited anyway, the filing states.

Offenses included everything from drug use to prostitution, and a number of driving violations, per the New York Post.

However, they were allowed to serve after being granted admission by Anderson, according to the filings, which state he did not have the authority to keep them on the force.

And in a stunning twist, many of the officers remain employed and cannot be sacked after the NYPD Police Benevolent Association filed a restraining order to temporarily halt the city’s actions, keeping them on the payroll.

Officer Anderson was removed from his position and is facing charges.

Just what the heck is going on in New York City!?

Follow Warner Todd Huston on Facebook at: facebook.com/Warner.Todd.Huston, X at WTHuston, or Truth Social at @WarnerToddHuston.