On the Origin of Species
Even when writing "On the Origin of Species" in the 1850s he was still inclined to theism, but his views gradually changed to agnosticism: