A person, who corrupts or attempts to corrupt any other person in the discharge of any duties as a juror or voter, is liable on conviction on indictment to imprisonment for 10 years.