<prompt> Translate the following text to SwahiliTodays Imperial Palace is on the site of Edo castle, where the Tokugawa shogunate ruled Japan for 265 years; it was thereafter home to the emperors of the modern era.  <response>: Jumba la kifalme la leo liko mahali pa ngome ya Edo, ambapo shogunate ya Tokugawa ilitawala Japan kwa miaka 265; baadaye ilikuwa nyumbani kwa maliki wa enzi ya kisasa. 