A medium-seized to large working dog that was bred for herding sheep, first appearing in Germany in 1899, and formerly known in Britain as the Alsatian. They are intelligent, popular as companions, and used widely by the police to track and hold suspects, by the military to warn of hazards, as well as for search and rescue, detecting narcotics and explosives, and other roles.