context: Darwin became interested in natural history, studying medicine at the University of Edinburgh and later theology at Cambridge. [4] His five-year exploration at HMS Beagle established his position as a geologist. The observations made during the trip supported Charles Lyell's uniformitarian ideas. Darwin's book about a sea voyage in Beagle made him famous. During his journey, he collected fossils of dead animal species, causing him to wonder about the geographical distribution of wildlife and fossils. As a result, he began to study the conversion of species and eventually developed his theory of natural selection in 1838. [5] Although Darwin discussed his theory with a few naturalists, he still needed time for extensive research. However, his geological work was at the forefront at that time. [6]
question: In what year did Darwin develop his theory of natural selection?
answers.text: 1838