Marx's most popular theory was 'historical materialism', arguing that history is the result of material conditions, rather than ideas. He believed that religion, morality, social structures and other things are all rooted in economics. In his later life he was more tolerant of religion.