The Pembroke Welsh Corgi lineage has been traced back as far as 1107 AD. It is said that the Vikings and Flemish weavers brought the dogs with them as they traveled to reside in Wales. As far back as the 10th century, corgis were herding sheep, geese, ducks, horses, and cattle as one of the oldest herding breed of dogs.
Pembroke Welsh Corgis are closely related to Schipperkes, Keeshonds, Pomeranians, Samoyeds, Chow Chows, Norwegian Elkhounds, and Finnish Spitz. Pembrokes and Cardigans first appeared together in 1925 when they were shown under the rules of The Kennel Club in Britain. The Corgi Club was founded in December 1925 in Carmarthen, Carmarthenshire. It is reported that the local members favored the Pembroke breed, so a club for Cardigan enthusiasts was founded a year or so later. Both groups have worked hard to ensure the appearance and type of breed are standardized through careful selective breeding. Pembrokes and Cardigans were officially recognized by the Kennel Club in 1928 and were initially categorized together under the single heading of Welsh Corgis, before the two breeds were recognized as separate and distinct in 1934.
Pembroke Welsh Corgis are becoming more popular in the United States and rank 20th (24th) in American Kennel Club registrations, as of 2015 (2012). However, corgis are now listed as a "vulnerable" breed in the United Kingdom; the decline has been said to be due to a 2007 ban on tail-docking (the practice of cutting off the animal’s tail) in the U.K., as well as the lack of breeders in the U.K.