 He spent a total of four years in England and France from 1840 to 1844, where, as far as we can tell, he was heavily influenced by French thinkers, particularly Auguste Comte, the man who had become the founder of sociology, and others who were involved in humanitarian and sort of reformist, romantic kind of thinking.