The Bronze Age.
It is believed that early dogs dating from about 12,000 - 14,000 years ago came from a strain of grey wolf that inhabited India. Thereafter, this wolf--known as Canis lupus pallipes--was widely distributed throughout Europe, Asia, and North America.
Decedents
It is also possible that some of the dogs of today descended not from the wolf but rather from the jackal.
Companion
Nobody knows when the first dog became companions of humans, its likely wild canids were scavengers near tribal campsites.

To Terriers