<prompt> Translate the following text to EnglishVita vya miaka kumi na tatu vilisababisha mabadiliko makubwa ya Danzig zamani Gdansk kuwa mji-jimbo huru chini ya ulinzi wa taji la Poland na kuteka maeneo mengine ya Knights.  <response>: The Thirteen Years War yielded great benefits for the transformation of Danzig formerly Gdansk into an independent city-state under the protection of the Polish crown and the capture of other Knights territories. 