If you plan on climbing the Pidurangala rock, take some time to visit this ancient temple. The history of this temple is believed to date back to the 2 or 1st Century BCE. The site was originally a Buddhist monastery but became prominent during the reign of King Kashyapa (473 - 495 CE) with many stone inscriptions in the Brahmi script retelling its history.
According to the Mahavamsa, Prince Kashyapa committed parricide and regicide by killing his father, King Dhatusena. After this, he escaped to Sigiriya to avoid capture by his half-brother and rightful heir, Mugalan. Sigiriya, before Kashyapa was a meditative sanctuary for Buddhist monks. Once Kashyapa took hold of Sigiriya, he requested the resident monks to relocate to Pidurangala. After which, he built a temple, and became a frequent visitor to the site. This temple has five main sections, the ancient stupa, Image House, Chapter House, Bodhi Tree, Preaching Hall, and Sangharama (Monks Residence Building). Those who visit the temple will also be able to see ancient inscriptions and caves inhabited by monks.