Section 32B: Resisting arrest
Section 32B. (a) A person commits the crime of resisting arrest if he knowingly prevents or attempts to prevent a police officer, acting under color of his official authority, from effecting an arrest of the actor or another, by:
(1) using or threatening to use physical force or violence against the police officer or another; or
(2) using any other means which creates a substantial risk of causing bodily injury to such police officer or another.
(b) It shall not be a defense to a prosecution under this section that the police officer was attempting to make an arrest which was unlawful, if he was acting under color of his official authority, and in attempting to make the arrest he was not resorting to unreasonable or excessive force giving rise to the right of self-defense. A police officer acts under the color of his official authority when, in the regular course of assigned duties, he is called upon to make, and does make, a judgment in good faith based upon surrounding facts and circumstances that an arrest should be made by him.
(c) The term ''police officer'' as used in this section shall mean a police officer in uniform or, if out of uniform, one who has identified himself by exhibiting his credentials as such police officer while attempting such arrest.
(d) Whoever violates this section shall be punished by imprisonment in a jail or house of correction for not more than two and one-half years or a fine of not more than five hundred dollars, or both.