<prompt> Translate the following text to SwahiliDuring this time Kyoto thrived as Japans cultural and creative heartland.  <response>: Wakati huo Kyoto ilifanikiwa kuwa kitovu cha utamaduni na ubunifu wa Japani. 