At the same time, both Poland, as part of the Polish–Lithuanian Commonwealth, and Imperial Sweden had ambitious plans to expand territorial gains and consolidate power, which led to many major conflicts between the two nations, challenging the power of each. At peak, the Swedes invaded Poland once, known as the Swedish Deluge, which later had razed much of Poland after serious destructions by the Swedish invaders. The weakening of Poland had been contributed by the brutal Swedish invasion.