Legislation protects animals and humans from cruelty