At the end of the 20th century there was an emerging consensus among developmental neurobiologists that the establishment of thalamocortical connections (at about 26 weeks) is a critical event with regard to fetal perception of pain.
At the end of the 20th century developmental neurobiologists agreed that at 26 weeks a fetus could feel pain.