The Mahavamsa, a 6th century CE chronicle, has had a profound influence on Sinhalese Buddhist culture and identity. The text contains mythological accounts of the Buddha's visits to Sri Lanka, during which he is said to have sanctified the island as a haven for Buddhism and entrusted its protection to the Sinhalese people. The Mahavamsa also recounts the story of the Buddhist warrior king
Dutugamunu and his battle against the Tamil king
Elara to unite Sri Lanka under a Buddhist monarch. While the text depicts Elara as a good ruler, Dutugamunu's campaign is portrayed as necessary for the restoration and glory of Buddhism on the island. Scholars have noted that the Mahavamsa's narratives have contributed to a belief among some Sinhalese Buddhists that they are the Buddha's chosen people and that Sri Lanka is a sacred Buddhist land. The text's depiction of the Buddha driving away
Yakkhas, the island's non-human inhabitants, to establish Buddhism has been interpreted by some as providing justification for the use of violence in the name of religion and the removal of groups seen as uncooperative with Buddhist goals. However, the Mahavamsa remains an important religious and cultural text that has helped to shape Sinhalese Buddhist identity over many centuries. ==Contributions of Anagarika Dharmapala==