A juror or voter who commits the offence of corruption, with respect to the discharge of the duties of his or her office, is liable on conviction on indictment to imprisonment for 10 years.