 According to "Iyo-no-Kuni Topography" written in the beginning of the 8th century, once in the age of the gods, Sukunabikona () and Ōkuninushi visited Iyo-no-Kuni, now known as Ehime Prefecture.Sukunabikona fainted from illness.With a deep sorrow Ōkuninushi placed a long pipe at the bottom of the sea all the way through from Dōgo Onsen to Beppu to supply therapeutic thermal waters for him to bathe, by the grace of which he was saved.