In 1863 Rhys Davids returned to Britain, and on passing his civil service exams was posted to Sri Lanka (then known as Ceylon).
Rhys Davids became involved with the excavation of the ancient Sinhalese city of Anuradhapura, which had been abandoned after an invasion in 993 CE.