Although the exact origins of the cave are uncertain, it is believed to have been built as a place for spiritual meditation. One folklore relates that it was created by the fingernail of the legendary giant Kebo Iwa. However, examining its style, the sanctuary was probably dated from the 11th century
Bali Kingdom. The complex contains both Hindu and Buddhist imagery, as the cave contains lingam and yoni, symbols of
Shiva, and the image of
Ganesha, while by the river there are carved images of stupas and chattra, imagery of Buddhism. The cave was rediscovered by Dutch archaeologists in 1923, but the fountains and bathing pool were not discovered until 1954. ==Site description==