<prompt> Translate the following text to SwahiliHe expressed his gratitude by devoting the rest of his life to refurbishing a town devastated by the Thirty Years War of the previous century.  <response>: Alionyesha shukrani yake kwa kujitolea maisha yake yote kurekebisha mji ulioharibiwa na Vita vya Miaka Thelathini vya karne iliyopita. 