After this, Prince Hachiko is said to have climbed the Hagurosan Mountain and acquired the Haguro Gongen deity guided from the seaside by a three legged bird (perhaps a sacred crow), and founded the Dewa Sanzan (three mountains of Dewa).
蜂子皇子はこの後、海岸から三本足の烏（ヤタガラスか？）に導かれて、羽黒山に登り羽黒権現を獲得し、出羽三山を開いたと言われている。