Specialization
As humans migrated around the planet, a variety of dog forms migrated with them. The agricultural revolution and subsequent urban revolution led to an increase in the dog population and a demand for specialization. These circumstances would provide the opportunity for selective breeding to create specialized types of working dogs and pets.
Read more about this topic: Origin Of The Domestic Dog