Once the proletariat gained class consciousness and thus was prepared to revolt against the ruling classes, the vanguard party would serve another purpose. The party would coordinate the proletariat through its revolution by acting as a military command hub of sorts. This is, according to Leninists, a vital function as mass revolutions can sometimes be easily crushed by the disciplined military of the ruling classes.