(a) He offers, confers, or agrees to confer any benefit upon a public servant or peace officer with the intent to influence that public servant or peace officer to violate his public duty, or oath of office, thereby influencing the public servant's or peace officer's vote, opinion, judgment, exercise of discretion, or other action or inaction in his official capacity; or