Predators and nuisance animals are the bane of the homesteader. They literally eat our hard labor and profits. In many states, it is perfectly legal to shoot or trap an animal that is harassing your livestock or eating your fruits and vegetables.
In California, where we live, these laws get sticky, but it is still possible.