On The Origin of Species by Charles Darwin Chapter 8 Page 18

Thus it is known that a cross with a bull-dog has affected for many generations the courage and obstinacy of greyhounds; and a cross with a greyhound has given to a whole family of shepherd-dogs a tendency to hunt hares. These domestic instincts, when thus tested by crossing, resemble natural instincts, which in a like manner become curiously blended together, and for a long period exhibit traces of the instincts of either parent: for example, Le Roy describes a dog, whose great-grandfather was a wolf, and this dog showed a trace of its wild parentage only in one way, by not coming in a straight line to his master, when called.

Domestic instincts are sometimes spoken of as actions which have become inherited solely from long-continued and compulsory habit, but this is not true.