TAIRA no Masamori who was Oki no kami (Governor of Oki Province) donated his shoryo (territory) of Ise for a temple at Rokujo-in built to perform religious rites for the repose of a soul of the late Princess Teishi, Imperial Princess of the Cloistered Emperor Shirakawa in 1096, and on that occasion he became Wakasa no kuni no kami (Governor of Wakasa Province), and began to receive favors from the Cloistered Emperor.
隠岐守だった平正盛は永長元年（1096年）に白河法皇の皇女媞子内親王を弔う六条院の御堂に伊勢の所領を寄進し、それを期に若狭国守に転じ、法皇から目をかけられるようになっていた。