565.091. Harassment, second degree, penalty.
1. A person commits the offense of harassment in the second degree if he or she, without good cause, engages in any act with the purpose to cause emotional distress to another person.
2. The offense of harassment in the second degree is a class A misdemeanor, unless the person has previously pleaded guilty to or been found guilty of a violation of this section, of any offense committed in violation of any county or municipal ordinance in any state, any state law, any federal law, or any military law which if committed in this state would be chargeable or indictable as a violation of any offense listed in this subsection, in which case it is a class E felony.
3. This section shall not apply to activities of federal, state, county, or municipal law enforcement officers conducting investigations of violations of federal, state, county, or municipal law.