(a) It shall be unlawful for any person to commit an act of cruelty toward any animal. (b) It shall be unlawful for any person to intentionally train, breed, possess, harbor, keep, or have custody or control of an animal for the purpose of animal fighting. It shall be unlawful to be a spectator at or bet on an animal fighting activity. (c) A person shall not be guilty of cruelty when the person is protecting his or her life or the life of another person or animal that is being attacked by an animal.