Charles Darwin's education gave him a foundation in the doctrine of Creation prevalent throughout the West at the time, as well as knowledge of medicine and theology. More significantly, it led to his interest in natural history, which culminated in his taking part in the second voyage of the "Beagle" and the eventual inception of his theory of natural selection. Although Darwin changed his field of interest several times in these formative years, many of his later discoveries and beliefs were foreshadowed by the influences he had as a youth.