<prompt> Translate the following text to SwahiliIt was off the coast here that Commodore Matthew Perry, ordered by the US government to open diplomatic relation with Japan by force if necessary, anchored his fleet of black ships.  <response>: Kama ilivyoelezwa hapo juu, Commodore Matthew Perry, aliyeamriwa na serikali ya Marekani kufungua uhusiano wa kidiplomasia na Japani kwa nguvu ikiwa ni lazima, aliweka nanga meli zake za nyeusi. 