(A) A person commits compounding a crime when he or she knowingly receives or offers to another any consideration for a promise not to prosecute or aid in the prosecution of an offender.
(B) Compounding a crime is a petty offense.
(ILCS Ch. 720, Act 5, § 32-1) Penalty, see § 130.99