Economic determinism is a theory that economic relationships (such as being an owner or capitalist, or being a worker or proletarian) are the foundation upon which all other social and political arrangements in society are based. The theory stresses that societies are divided into competing economic classes whose relative political power is determined by the nature of the economic system. In the version associated with Karl Marx, the emphasis is on the proletariat who are considered to be locked in a class struggle with the capitalist class, which will eventually end with the revolutionary overthrow of the capitalist system and the gradual development of socialism.