(1) A person is guilty of resisting arrest when he intentionally prevents or attempts to prevent a peace officer, recognized to be acting under color of his official authority, from effecting an arrest of the actor or another by:
(a) Using or threatening to use physical force or violence against the peace officer or another; or (b) Using any other means creating a substantial risk of causing physical injury to the peace officer or another.
(2) Resisting arrest is a Class A misdemeanor.