Most of the Gospel of Thomas was written prior to 140 AD.