<prompt> Translate the following text to SwahiliKaneiji was a seat of great power until 1868, when it became the battleground in the shogunates last stand against the imperial army and most of the buildings were destroyed.  <response>: Kani-ji ilikuwa makao makuu ya nguvu hadi mwaka 1868, wakati ilipowa uwanja wa vita katika mapigano ya mwisho ya shogunate dhidi ya jeshi la kifalme na majengo mengi yaliharibiwa. 