"In reviewing the neuroanatomical and physiological evidence in the fetus, it was apparent that connections from the periphery to the cortex are not intact before 24 weeks of gestation and, as most neuroscientists believe that the cortex is necessary for pain perception, it can be concluded that the fetus cannot experience pain in any sense prior to this gestation. After 24 weeks there is continuing development and elaboration of intracortical networks such that noxious stimuli in newborn preterm infants produce cortical responses. Such connections to the cortex are necessary for pain experience but not sufficient, as experience of external stimuli requires consciousness."
January 1, 1970
https://en.wikiquote.org/wiki/Consciousness