Initially, the German Shepherd was used exclusively to protect livestock from predators.