(A) This section shall apply only to those actions taken to resist arrest without the use of a deadly or dangerous weapon. It shall be unlawful for any person intentionally to prevent or attempt to prevent a peace officer, acting under color of official authority, from effecting an arrest on such person or on another by:
(1) Using or threatening to use physical force or violence against the peace officer or another; or
(2) Using any other means which creates a substantial risk of causing physical injury to the peace officer or another; or
(3) Employing means which require substantial force to overcome resistance to effecting the arrest;
(B) It is an affirmative defense to prosecution under this section that the peace officer involved was out of uniform and did not identify himself or herself as a peace officer by showing credentials to the person whose arrest is attempted.
(Neb. RS 28-904) Penalty, see § 10.99