German Shepherds were originally bred in Germany, hence their name. They were developed in the late 19th century in Württemberg, specifically in the town of Pforzheim.
Captain Max von Stephanitz created the breed to develop a working dog for herding, guarding, and military service. He selected dogs for intelligence, obedience, and loyalty.