Original: 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.
Simplified: At the end of the 20th century there was an emerging consensus among developmental neurobiologists that these connections are very important when it comes to the perception of pain in the fetus.