Every person who, having knowledge of the actual commission of a crime, takes money or property of another, or any gratuity or reward, or any engagement, or promise thereof, upon any agreement or understanding to compound or conceal that crime, or to abstain from any prosecution thereof, or to withhold any evidence thereof, except in the cases provided for by law, in which crimes may be compromised by leave of court, is punishable as follows:1.By imprisonment in a county jail not exceeding one year, or pursuant to subdivision (h) of Section 1170, where the crime was punishable by death or imprisonment in the state prison for life; 2. By imprisonment in a county jail not exceeding six months, or pursuant to subdivision (h) of Section 1170, where the crime was punishable by imprisonment in the state prison for any other term than for life; 3. By imprisonment in a county jail not exceeding six months, or by fine not exceeding one thousand dollars ($1,000), where the crime was a misdemeanor.Amended by Stats 2011 ch 39 (AB 117),s 68, eff. 6/30/2011.Amended by Stats 2011 ch 15 (AB 109),s 264, eff. 4/4/2011, but operative no earlier than October 1, 2011, and only upon creation of a community corrections grant program to assist in implementing this act and upon an appropriation to fund the grant program.