<prompt> Translate the following text to SwahiliThe Kamakura shogunate was founded late in the 12th century after a long and bloody rivalry between two noble factions over control of the imperial court.  <response>: Shogunate ya Kamakura ilianzishwa mwishoni mwa karne ya 12 baada ya ushindani wa muda mrefu na wa damu kati ya makundi mawili ya watu mashuhuri juu ya udhibiti wa mahakama ya kifalme. 