Magul Maha Viharaya is an ancient Buddhist temple lies on the northern edge of the Lahugala National Park, about 22 km off from Siyambalanduwa town and about 11 km off Pottuvil town. Lahugala has been part of the Kingdom of Ruhuna in ancient Sri Lanka. The ruins of Magul Maha Vihara are one of the major tourist attractions of the Eastern province.
According to legend Viharamaha Devi, the daughter of King Kelanitissa volunteered to sacrifice herself to the sea to appease the gods who were enraged at the King for punishing an innocent monk. The princess was safely carried over the ocean waves, reaching ashore at a place near the Muhudu Maha Viharaya in Pottuvil, where the encounter between king Kavantissa and the princess took place which later led to their marriage.
The legend also tells that the marriage ceremony was conducted at the premises of Magul Maha Viharaya in Lahugala, where the King had later built the temple to celebrate the auspicious event. The foundations of the Magul Maduwa where the wedding ceremony took place can still be seen at the temple premises. “Magul” is a word in native Sinhala language which gives the meaning wedding or auspicious.