<prompt> Translate the following text to SwahiliIt was modeled on one of the great Chinese monasteries of the time and built for a Chinese monk who was said to have interceded with the dreaded Kublai Khan to stop the Mongol invasion of Japan.  <response>: Mnara huo ulijengwa kwa mfano wa mojawapo ya makao makuu ya watawa ya China ya wakati huo na kujengwa kwa ajili ya mtawa mmoja wa China ambaye inasemekana kwamba aliomba kwa Kublai Khan ili kuzuia uvamizi wa Wamongolia wa Japani. 