(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, without the use of a deadly or dangerous weapon, while intentionally preventing or attempting to prevent a peace officer, acting under color of his or her official authority, from effecting an arrest of the actor or another, to:
(1) Use or threaten to use physical force or violence against the peace officer or another;
(2) Use any other means which creates a substantial risk of causing physical injury to the peace officer or another; or
(3) Employ means requiring substantial force to overcome resistance to effecting the arrest.
(B) It is an affirmative defense to prosecution under this section if the peace officer involved was out of uniform and did not identify himself or herself as a peace officer by showing his or her credentials to the person whose arrest is attempted.
(Neb. Rev. Stat. 28-904) Penalty, see § 10.99