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

Gould was formerly inclined to believe that the act of ejection was performed by the foster-parents themselves. But he has now received a trustworthy account of a young cuckoo which was actually seen, while still blind and not able even to hold up its own head, in the act of ejecting its foster-brothers. One of these was replaced in the nest by the observer, and was again thrown out. With respect to the means by which this strange and odious instinct was acquired, if it were of great importance for the young cuckoo, as is probably the case, to receive as much food as possible soon after birth, I can see no special difficulty in its having gradually acquired, during successive generations, the blind desire, the strength, and structure necessary for the work of ejection; for those cuckoos which had such habits and structure best developed would be the most securely reared.