(1) A public official or person entrusted with special public service functions who demands, allows himself to be promised or accepts a benefit for himself or for a third person in return for the fact that he performed or will in the future perform an official act and thereby violated or will violate his official duties shall be liable to imprisonment from six months to five years. In less serious cases the penalty shall be imprisonment not exceeding three years or a fine. The attempt shall be punishable.
(2) A judge or an arbitrator, who demands, allows himself to be promised or accepts a benefit for himself or for a third person in return for the fact that he performed or will in the future perform a judicial act and thereby violated or will violate his judicial duties shall be liable to imprisonment from one to ten years. In less serious cases the penalty shall be imprisonment from six months to five years.
(3) If the offender demands, allows himself to be promised or accepts a benefit in return for a future act, subsections (1) and (2) above shall apply even if he has merely indicated to the other his willingness to
1. violate his duties by the act; or
2. to the extent the act is within his discretion, to allow himself to be influenced by the benefit in the exercise of his discretion.