Sri Pada is first mentioned (as Samanthakuta) in the Deepawamsa, the earliest Pali chronicle, (4th century), and also in the 5th century chronicle Mahawamsa, where it is stated that the Buddha visited the mountain peak. The chronicle Rajavaliya states that the King Valagamba (1st century BCE) had taken refuge in the forests of Adam's Peak against invaders from India, and later returned to Anuradhapura. The Mahawamsa again mentions the visit of King Vijayabahu I (1058-1114) to the mountain. The famous Chinese pilgrim and Buddhist traveler Fa Hien stayed in Sri Lanka in 411-12 CE and mentions Sri Pada although it is not made clear whether he actually visited it.