Comte offered an account of social evolution, proposing that society undergoes three phases in its quest for the truth according to a general 'law of three stages'. The idea bears some similarity to Marx's view that human society would progress toward a communist peak. This is perhaps unsurprising as both were profoundly influenced by the early Utopian socialist, Henri de Saint-Simon, who was at one time Comte's teacher and mentor. Both Comte and Marx intended to develop, scientifically, a new secular ideology in the wake of European secularisation.