Some cities have an ordinance requiring pets to be kept on a leash.