597.9.
(a) Except as provided in subdivision (c) or (d), a person who has been convicted of a misdemeanor violation of Section 286.5, subdivision (a) or (b) of Section 597, or Section 597a, 597b, 597h, 597j, 597s, or 597.1, and who, within five years after the conviction, owns, possesses, maintains, has custody of, resides with, or cares for any animal is guilty of a public offense, punishable by a fine of one thousand dollars ($1,000).(b) Except as provided in subdivision (c) or (d), a person who has been convicted of a felony violation of subdivision (a) or (b) of Section 597, or Section 597b or 597.5, and who, within 10 years after the conviction, owns, possesses, maintains, has custody of, resides with, or cares for any animal is guilty of a public offense, punishable by a fine of one thousand dollars ($1,000).
(c) (1) In cases of owners of livestock, as defined in Section 14205 of the Food and Agricultural Code, a court may, in the interest of justice, exempt a defendant from the injunction required under subdivision (a) or (b), as it would apply to livestock, if the defendant files a petition with the court to establish, and does establish by a preponderance of the evidence, that the imposition of the provisions of this section would result in substantial or undue economic hardship to the defendant’s livelihood and that the defendant has the ability to properly care for all livestock in their his or her possession.
(2) Upon receipt of a petition from the defendant, the court shall set a hearing to be conducted within 30 days after the filing of the petition. The petitioner shall serve a copy of the petition upon the prosecuting attorney 10 calendar days prior to the requested hearing. The court shall grant the petition for exemption from subdivision (a) or (b) unless the prosecuting attorney shows by a preponderance of the evidence that either or both of the criteria for exemption under this subdivision are untrue.
(d) (1) A defendant may petition the court to reduce the duration of the mandatory ownership prohibition. Upon receipt of a petition from the defendant, the court shall set a hearing to be conducted within 30 days after the filing of the petition. The petitioner shall serve a copy of the petition upon the prosecuting attorney 10 calendar days prior to the requested hearing. At the hearing, the petitioner shall have the burden of establishing by a preponderance of the evidence all of the following:
(A) The petitioner He or she does not present a danger to animals.
(B) The petitioner He or she has the ability to properly care for all animals in their his or her possession.
(C) The petitioner He or she has successfully completed all classes or counseling ordered by the court.
(2) If the petitioner has met their his or her burden, the court may reduce the mandatory ownership prohibition and may order that the defendant comply with reasonable and unannounced inspections by animal control agencies or law enforcement.
(e) An animal shelter administered by a public animal control agency, a humane society, or any society for the prevention of cruelty to animals, and an animal rescue or animal adoption organization may ask a person an individual who is attempting to adopt an animal from that entity whether the person he or she is prohibited from owning, possessing, maintaining, having custody of, or residing with an animal pursuant to this section.