<prompt> Translate the following text to EnglishVita hivyo vilidumu kwa miaka mitano, na wakati huo Sweden ilishinda sehemu kubwa ya Poland.  <response>: The devastating war lasted five years, during which time Sweden was able to capture most of Poland. 