Several 19th century thinkers criticized capitalism and proposed new social models. This included Marxism/socialism which aimed to replace capitalism with a classless society through proletariat revolution, as well as anarchism which advocated destroying the state and private property in favor of egalitarian collective societies through revolutionary action. These ideologies led to the formation of socialist and anarchist movements that aimed to improve workers' conditions through legislation or revolution.