Though its immediate genesis is unclear, the legend of Prester John drew strongly from earlier accounts of the Orient and of Westerners' travels there. Particularly influential were the stories of Saint Thomas the Apostle's proselytizing in India, recorded especially in the 3rd-century work known as the "Acts of Thomas". This text inculcated in Westerners an image of India as a place of exotic wonders and offered the earliest description of Saint Thomas establishing a Christian sect there, motifs that loomed large over later accounts of Prester John.