N.Y. General Municipal Law § 805
Any municipal officer or employee who willfully and knowingly violates the foregoing provisions of this article shall be guilty of a misdemeanor.