From this time on, a peaceful life came to the village, but for fear of haunting, local people decided to celebrate and enshrine the Hakuryu Daigongen (白龍大権現, White Dragon Great Gongen) in this cave.
The Akaiwa mountain shrine was also linked with a legend of sighting of a white dragon rising to the heavens when a Shugendo monk practiced in a cave at the beginning of the Meiji era.
[6] Hashimoto's version appears in: 北海道郷土史研究 (Hokkaidō kyōdoshi kenkyū),[7] 昔話北海道 (Mukashibanashi Hokkaido),[8] 少年少女日本伝説全集1,[9] コタンの大蛇:小人のコロボックルほか(Kotan no Orochi).
It also resembles a Japanese legend of Susanoo and Yamata no Orochi, except in the Ainu version it is a girl sacrifice that does the killing, not a male outsider.
The offerings for a dragon/snake create merit comparison to rites of rain-making, closely related to the belief in dragon and snake gods, frequent in Hokkaido and having a history of being practiced in various places of Japan starting from the description in the Nihon Shoki (日本書紀).