(A)   No person shall knowingly demand, accept, or agree to accept anything of value in consideration of abandoning or agreeing to abandon a pending criminal prosecution.
   (B)   It is an affirmative defense to a charge under this section when both of the following apply:
      (1)   The pending prosecution involved is for a violation of R.C. § 2913.02, 2913.11, 2913.21(B)(2), or 2913.47, or a substantially equivalent municipal ordinance, of which the actor under this section was the victim.
      (2)   The thing of value demanded, accepted, or agreed to be accepted, in consideration of abandoning or agreeing to abandon the prosecution, did not exceed an amount that the actor reasonably believed due him or her as restitution for the loss caused him or her by the offense.
   (C)   When a prosecuting witness abandons or agrees to abandon a prosecution under division (B) of this section, the abandonment or agreement in no way binds the state to abandoning the prosecution.
   (D)   Whoever violates this section is guilty of compounding a crime, a misdemeanor of the first degree.
(R.C. § 2921.21) (Rev. 1999)