A public servant is guilty of receiving reward for official misconduct in the first degree when he solicits, accepts or agrees to accept any benefit from another person for having violated his duty as a public servant in the investigation, arrest, detention, prosecution, or incarceration of any person for the commission or alleged commission of a class A felony defined in article two hundred twenty of the penal law or the attempt to commit any such class A felony.
Receiving reward for official misconduct in the first degree is a class C felony.
N.Y. Penal Law § 200.27