In the tenth century AD, the Bali was ruled by Udayana Warmadewa together with his consort Sri Gunapriyadharmapatni. During that period also developed nine major sects such as Bhairava, Saiva-Siddhanta, Brahma and Buddha where one another attempted the competing for getting influence.
Although it did not interfere with the stability of the kingdom, Udayana and the queen knew if the competition among the sects could potentially raise tensions and conflicts in the socio-religious life in the community.
With a maharishi (priest) named Mpu Kuturan, doubling to fill in the position as royal government assembly, they invited the leaders of each sect, including the community group of Bali Aga (native Balinese), to meet and discuss for the sake of unity and stability of Balinese kingdom. Such triangle meeting could produce a monumental agreements, including the establishment of customary village along with the trinity temples used to venerate three manifestations of God, namely Lord Brahma, Lord Vishnu and Lord Shiva.
Not only that, Mpu Kuturan also known as an expert in administrative law (rajaniti) set some guidelines for Hindu religious life. Meanwhile, the temple becoming the venue of such important religious meeting remains to majestically stand up to these days known as Samuantiga Temple located at Bedulu village, Gianyar, or about 25 kilometers east of Denpasar. (BTN/various sources)