He was the fifth prince of Emperor Murakami, and his mother was an Emperor's second consort, FUJIWARA no Anshi, who was the daughter of FUJIWARA no Morosuke, the minister of the right.
村上天皇の第五皇子で、母は右大臣藤原師輔の娘、中宮藤原安子。