Every person who directly or indirectly gives, or offers to agree to give, to any elector or to any person for the benefit of any elector, any sum of money or other valuable consideration for the purpose of inducing the elector to give in or withhold that elector's vote at any election in this state, or by way of reward for having voted or withheld that elector's vote, or who uses any threat or employs any means of intimidation for the purpose of influencing the elector to vote or withhold that elector's vote for or against any candidate or candidates or proposition pending at an election, shall be guilty of a felony, and no person after conviction of this offense, shall be permitted to vote in any election or upon any proposition pending before the people, or to hold any public office; and no evidence given by any witness testifying upon the trial of any charge of bribery shall be used against the person giving the evidence.
R.I. Gen. Laws § 17-23-5