(a) A person commits the offense of jury tampering if he or she attempts directly or indirectly to communicate with a juror, other than as a part of the official proceedings in which the juror is participating, with the purpose of influencing the juror's vote, decision, or other action as a juror.
(b) Juror tampering is a Class D felony.