Rock inscriptions in Sigiriya however reads that the caves with drip edges built under large rock boulders have been donated to the monks as monasteries even before the reign of King Kashyapa. As per folklore and literature it is evident that prior to the establishment of this new kingdom, Sigiriya has been inhabited since the prehistoric era.