The Dandie Dinmont Terrier originated in Scotland in the 18th century. They were primarily bred for hunting otters and badgers.