In Marxist philosophy, the dictatorship of the proletariat is a condition in which the proletariat, or working class, holds control over state power. The dictatorship of the proletariat is the transitional phase from a capitalist and a communist economy, whereby the post-revolutionary state seizes the means of production, mandates the implementation of direct elections on behalf of and within the confines of the ruling proletarian state party, and institutes elected delegates into representative workers' councils that nationalise ownership of the means of production from private to collective ownership. During this phase, the administrative organizational structure of the party is to be largely determined by the need for it to govern firmly and wield state power to prevent counterrevolution, and to facilitate the transition to a lasting communist society.