Justification; use of physical force in resisting arrest prohibited

N.Y. Penal Law § 35.27, under Defense of Justification.

N.Y. Penal Law § 35.27

§ 35.27 Justification; use of physical force in resisting arrest prohibited. A person may not use physical force to resist an arrest, whether authorized or unauthorized, which is being effected or attempted by a police officer or peace officer when it would reasonably appear that the latter is a police officer or peace officer.