Minamoto no Yoritomo's appointment as Seii Tai Shogun in 1192 created Japan's first military government — the Kamakura shogunate. Real power shifted from the imperial court in Kyoto to the warrior class, a transfer that would define Japanese politics for the next 700 years.