Initially, these small dogs were bred by gypsies and Scottish farmers.