The dog is a domesticated descendant of the gray wolf. Also called the domestic dog, it was selectively bred from a population of wolves during the Late Pleistocene by hunter-gatherers. From Wikipedia
Research published in PNAS shows artificial selection has driven unrelated breeds to evolve remarkably similar brachycephalic skulls, raising health and ethical concerns.