Where are dogs originally from?

the first dog came from a wolf they said wolf was a mistake to be made when they was making a dog on the history channel.