<prompt> Translate the following text to SwahiliBefore they could even think of accepting contact with the outside world, national integrity had to be restored, under the renewed moral leadership of the emperor.  <response>: Kabla hawawezi hata kufikiria kukubali kuwasiliana na ulimwengu wa nje, uadilifu wa kitaifa ulilazimika kurudishwa, chini ya uongozi wa maadili wa maliki. 