The communist party is supposed to lead society from capitalism to socialism. According to ML, socialism was more "advanced" than capitalism, but communism was more "advanced" than socialism. Indeed, the ultimate goal is to achieve a communist society, one with no class or state. ML just provides a first step: from capitalism to socialism.