The Dipavansa and the Mahavansa, Sri Lanka's two great religious chronicles, contain accounts of Mahinda travelling to Sri Lanka and converting King Devanampiyatissa. These are the primary sources for accounts of his life and deeds. Inscriptions and literary references also establish that Buddhism became prevalent in Sri Lanka around the 3rd century BCE, the period when Mahinda lived. The inscription in Rajagala monastery confirm the fact that Thera Mahinda came to Sri Lanka to propagate Buddhism and lived there until his death.