A person commits a misdemeanor if he or she harms another by any unlawful act in retaliation for anything lawfully done by the latter in the capacity of public servant.