As Fujiwara regency slackened in late Heian, Emperor Shirakawa abdicated in 1086 — took vows, yet kept power — set up the cloister office (in-no-cho) and kept 'northern guards' as his own soldiers: the system called insei (cloistered rule). Emperors Toba and Go-Shirakawa followed, the cloistered sovereign's hand often heavier than the child emperor's. The cloister office ran its own administration and heard petitions; grants of provinces issued by 'cloister edicts' whose force often outran imperial decision — the throne's name and substance divided from here. Cloistered rule gathered private power through provincial grants and leaned on the warriors of the Minamoto and Taira as its claws: Taira no Masamori, then Minamoto no Yoshiie, campaigning as the cloister's officers — the warriors entering central politics. The Hogen (1156) and Heiji (1159) troubles both flared from feuds inside the cloister; Taira no Kiyomori rose as the cloister's man to dominate, and the Minamoto-Taira contest followed — the pattern of the Genpei War formed within a century of insei. In 1192 Minamoto no Yoritomo took the title of shogun and the Kamakura bakufu stood in Sagami — Heian (Heian) aristocratic rule giving way: the warriors' age, opened by the cloister.