No one who holds, or who is seeking election or appointment to, any office shall, directly or indirectly, offer or arrange for any increase in compensation or salary for an employee of a state or local agency in exchange for, or a promise of, a contribution or loan to any committee controlled directly or indirectly by the person who holds, or who is seeking election or appointment to, an office. A violation of this section is punishable by imprisonment in a county jail for a period not exceeding one year, a fine not exceeding five thousand dollars ($5,000), or by both that imprisonment and fine.