Abhayagiri Vihāra was a major monastery site of Theravada, Mahayana and Vajrayana Buddhism that was situated in Anuradhapura, Sri Lanka. It is one of the most extensive ruins in the world and one of the most sacred Buddhist pilgrimage cities in the nation. Historically it was a great monastic center as well as a royal capital, with magnificent monasteries rising to many stories, roofed with gilt bronze or tiles of burnt clay glazed in brilliant colours. To the north of the city, encircled by great walls and containing elaborate bathing ponds, carved balustrades and moonstones, stood "Abhayagiri", one of seventeen such religious units in Anuradhapura and the largest of its five major viharas. One of the focal points of the complex is an ancient stupa, the Abhayagiri Dagaba. Surrounding the humped dagaba, Abhayagiri Vihara was a seat of the Northern Monastery, or Uttara Vihara and the original custodian of the Tooth relic in the island.
The term "Abhayagiri Vihara" refers not only to the complex of monastic buildings, but also to a fraternity of Buddhist monks, or Sangha, which maintained its own historical records, traditions and way of life. Founded in the 2nd century BC, it had grown into an international institution by the 1st century AD, attracting scholars from distant locations and encompassing all shades of Buddhist philosophy. Its influence can be traced to other parts of the world, through branches established elsewhere. Thus, the Abhayagiri Vihara developed as a great institution vis‑a‑vis the Mahavihara and the Jetavanavihara Buddhist monastic sects in the ancient Sri Lankan capital of Anuradhapura.
King Valagamba and Abhayagiri
It is recorded in the chronicle [1] that Abhayagiri Dagaba was established by King Valagamba during the period of his second reign, from 89–77 B.C.E. A young Brahmin named Tiya (Tissa) declared war against him. Tiya was deluded by the prophecy of another Brahmin that was destined to be king. Before the arrival of Bhikkhu Mahinda, who brought Buddhism to the island, Brahmins held the highest place in society. After the establishment of the Buddhist sangha on the island, however, they lost their supremacy and were replaced by the sangha. Some Brahmins converted to Buddhism, while others revolted. Tiya, who enjoyed the support of his community, lived both in and outside of Sri Lanka and was therefore very powerful.
At the same time, seven Tamil chiefs landed at Mahatittha with a mighty army. Valagamba, a good diplomat, realized that his forces were too weak to fight against both of these enemies and tried to rid himself of them by making them fight each other. He sent a message to Tiya that if he could have the kingdom, provided he managed to defeat the foreign invaders. Tiya agreed, advanced with his forces to meet the Tamils, and was vanquished by them. The Tamils, elated by their success, advanced towards Anuradhapura and defeated the King, who was forced to abandon the throne and go into hiding in the mountains. As the King, defeated in battle, was fleeing Anuradhapura, a Jain monk ("nigantha" in Pali) named Giri, who headed the arama built by King Pandukabhaya near the northern gate of the city, cried out: "The great Sinhala is fleeing." The king thereupon resolved, "if my wish (of regaining the kingdom) is fulfilled, I will build a vihara here
During the Beminitiya Seya or period of famine and south Indian rule which followed, Vattagamani Abhaya took refuge in the mountain region amassing troops until, after more than fourteen years of exile, he marched on Anuradhapura in 89 BC and defeated the last Tamil king, Bhatiya. In fulfilment of the vow made on the day of his defeat, one of his first acts was to build the Abhayagiri Vihara on the site of the Giri monastery. Mahatissa Thera of Kupikkala was appointed it's Chief Incumbent as a mark of gratitude for his support in the fight against the invaders. Abhayagiri thereafter became a symbol not only of religious, but also of national, resurgence, as it signaled the end of Brahmin and Jain influence in the country.
According to the Mahavamsa, the name Abhayagiri Vihara originated from the names of King Vattagamani Abhaya and the Jain monk Giri who lived in the monastery earlier. However, since most ancient monasteries were built around a hillock, or giri in Sinhala, (for example the Vessagiri, Meghagiri or Chetiyagiri monasteries) it is possible that the name Abhayagiri symbolizes the monastery created by Vattagamani Abhaya after his recapture of the kingdom surrounding the hillock known as Digapasana, now inside the Abhayagiri complex.