The capital moved to Heian-kyō (Kyoto) in 794 and stayed four hundred years - the golden age of Japanese aristocratic culture. Early reigns (Saga, Seiwa) still sent embassies to Tang; in 894 Sugawara no Michizane's advice ended them, and the regency system took hold: the northern house of the Fujiwara held the offices of regent and chancellor in hereditary succession, dominating the throne through marriage politics, while the spread of private estates (shōen) ate away at the ritsuryō public land. Culture turned from Tang fashion to native forms: the kana script matured, the Tale of Genji, the Pillow Book and the Kokinshū mark the summit of national literature, and Pure Land faith and mappō eschatology spread. In the late period cloistered rule (insei) and the warrior class rose together; the Taira held power for a moment, until in 1185 the Minamoto - under Minamoto no Yoshitsune - destroyed them at Dan-no-ura and the age of the warrior began.