Complex sentence: Ribbentrop Pact, and remained outside the main conflict for two years, Stalin assuming that he was safe from an attack from Hitler, who did not wish to fight a war on two fronts.
Split into simpler sentences: Ribbentrop Pact, and remained outside the main conflict for two years. Stalin assumed that he was safe from an attack from Hitler, who did not wish to fight a war on two fronts.