A person commits a misdemeanor of the second degree if, with the intent of preventing a public servant from effecting a lawful arrest or discharging any other duty, the person creates a substantial risk of bodily injury to the public servant or anyone else, or employs means justifying or requiring substantial force to overcome the resistance.
18 Pa.C.S. § 5104