Once the proletariat gained class consciousness and thus was prepared to revolt against the ruling classes, the vanguard party would serve another purpose.
In Lenin's view, after the revolution the working class would implement the dictatorship of the proletariat to rule the new worker's state through the first phase of communism, socialism.