History.
Biologists think that the wolf evolved from miacids. The first gray wolf probably came from Eurasia somewhere in the begining Pleistocene period about a million years ago. A new study states that somewhere between 10,000 and 32,000 years ago, humans began domesticating wolves in Southeast Asia. And eventually, they did or will evolve into dogs with a intresting history.
Canine/wolf evolution