There are two version about the history of Mekotekan. According to Ida Pedanda Gede Sidemen Pemaron, Mekotekan ritual related to Raja (king) IV Cokorda Nyoman Munggu from Puri Agung (palace of) Munggu who govern Mengwiraja territory. One day in the past, Yeh Penet river was flooding and floot off a shrine which then be stuck fast at the root of Jepun Sudamala tree. The king heard about this and order his men to retrieve it. At the same time, one of the villagers was in trance and declared himself as a represent of Ida Betari (goddess of) Ulun Danu Beratan and told people to build a temple dedicated to Ida Betara (god) Luhur Sapu Jagat, guardian god of Mengwiraja. He also told that they will find chunks of iron to make kingdom’s weapons and holy stones which should be keep in the temple. All words from the man comes true when the ground had dug.They found tamiang (guard) shape stone and iron weapons. The king ordered his blacksmith to make keris and spear.Three months later after all weapons had been blessed, on Kuningan holy day, all men from Munggu village had performed a battle scene and since then thisMekotekan have been performing on Kuningan day and became tradition in Munggu village. Other version as told by Ketut Kormi−custom leader of Munggu village, is Mekotekan which have been performing by community in Munggu village from generation to generation, is related with the expansion trip of the King of Munggu to Blambangan. On the way back to the village, the kingdom troops had merrily celebrate victory from the battle field by lifting the spear upwards.As they were too excited, some of their body got pierced by the spears and get injured. In his meditation, the king got instructions to perform Mekotekan ritual in order he can heal his troops wounds quickly and also to chase away the plague which may come in Munggu village.