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