After the Genpei War Minamoto no Yoritomo founded the Kamakura shogunate and the court's real power drained away; after Yoritomo's death the vassals feuded, and under the shogunate's system the Hōjō regents held the reins. Retired Emperor Go-Toba, keeping his 'western guards' and planning the bakufu's overthrow, decreed in 1221 (the third Jōkyū year) the punishment of Hōjō Yasutoki — and few of the court's provinces answered. Yasutoki's army broke Kyoto within weeks: the three ex-emperors exiled to Sado, Oki and Awa, Emperor Chūkyō deposed after three months on the throne, most of the imperial estates confiscated to the bakufu, and the Rokuhara tandai planted in the capital. From then on the succession itself waited on the shogunate's judgment (the root of the two-line alternation), temple-shrine disputes and throne controversies all awaiting warrior adjudication, the court's government a name only; Yasutoki later compiled the Goseibai Shikimoku in fifty-one articles — written warrior law standing beside the court's. The warrior regime born of the Genpei War passed here beyond return: after the war the court's finances worsened and the estates kept falling away, the warriors' victory immovable — the preface written for the Nanboku-chō troubles and the Muromachi age.