A person is guilty of criminal sexual act in the second degree when:
It shall be an affirmative defense to the crime of criminal sexual act in the second degree as defined in subdivision one of this section that the defendant was less than four years older than the victim at the time of the act.
Criminal sexual act in the second degree is a class D felony.
N.Y. Penal Law § 130.45