NYSentencing

§ 200.05  Bribery; defense.
  In  any  prosecution  for  bribery,  it  is  a defense that the defendant
conferred or agreed to confer the benefit involved upon the public  servant
involved  as  a  result  of  conduct  of  the  latter  constituting larceny
committed by means of extortion, or an  attempt  to  commit  the  same,  or
coercion, or an attempt to commit coercion.