<prompt> Translate the following text to EnglishPalermo ilipokuwa ikizorota, Naples ilifanikiwa kuwa mji mkuu wenye kuvutia wa ulimwengu.  <response>: As Palermo was in decline, Naples flourished as a brilliant cosmopolitan capital. 