Since he received the oracle during this period, he prayed for the coming of Great Bodhisattva Hachiman from Usa-Hachimangu Shrine to Gokoku-ji Temple at Mt. Otoko in Kyoto Prefecture, and founded Iwashimizu Hachimangu Shrine.
このとき神託を受け翌貞観2年（860年）宇佐神宮から京都府の男山の護国寺に八幡大菩薩を勧請して石清水八幡宮を創建した。