text: The 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 .
  
  ###
  
  In the 12th century , a feast was held to celebrate founding of the Kamakura shogunate .