This is Vessagiriya, an ancient cave temple complex situated in Anuradhapura. According to Mahavamsa, Vessagiriya was the residing temple of Aritta prince who became a monk in the era of King Devanampiyatissa in 3 B.C. , who lived there with another 500 monks.