A public servant is guilty of official misconduct if, with intent to obtain a benefit or to deprive another person of a lawful right or privilege:
He or she intentionally commits an unauthorized act under color of law; or
He or she intentionally refrains from performing a duty imposed upon him or her by law.
Official misconduct is a gross misdemeanor.
[ 2011 c 336 § 408; 1975-'76 2nd ex.s. c 38 § 17; 1975 1st ex.s. c 260 § 9A.80.010; ]