Every person who shall promise, offer or give to any officer, agent or trustee, either public or private, while holding such office, agency or trust, or after he has become a candidate or applicant for the same, any money, goods, chattels, right in action, or other property, real or personal, with intent to influence his vote, opinion, action or judgment on any question, matter, cause or proceeding which may be then pending, or may be thereafter subject to vote, opinion, action or judgment of such officer, agent or trustee, shall, on conviction, be imprisoned in the penitentiary not more than ten (10) years, or fined not more than Five Thousand Dollars ($5,000.00), or both, and shall be forever disqualified from holding any public office, trust or appointment, and shall forfeit his office, if any be held.