According to Balinese mythology, Dang Hyang Nirartha, the temple’s creator, used his mighty supernatural powers to move the rock to its current resting place to worship the sea god, Bhatara Segara.