Narada requested lord Brahma to narrate how lord Shiva annihilated the demons. Lord Brahma narrated the tale of Tripurasur.
“After the killing of Tarakasur, three of his sons started doing their penance. The eldest among them was Tarkasha, younger to him was Viddyunmali and Kamalaksha was the youngest. I (Brahma) became very pleased by their tremendous penance.”
“They requested me to create three invincible forts for them, which should be full of all kinds of wealth and splendour and which nobody could be able to break.”
“A golden fort was constructed for Taraksha; for Kamlaksha a fort of silver was constructed and for Viddyunmali iron-fort was constructed. I had ordered the demon named Maya to construct these forts. One of these forts was constructed in the sky, the other was constructed on the earth and the third was constructed in the nether world.”
“After constructing the forts for them Maya took the responsibility of protecting them. I (Brahma) warned the three demons that they would be killed by lord Shiva. After this I came back.”
The three demon-brothers started tormenting the deities. The deities went to lord Brahma and narrated about their miseries. Lord Brahma instructed them to seek the help of Shiva. They went
to lord Shiva and explained about their woes. They also requested Shiva to eliminate those three demons. Lord Shiva instructed them to go to lord Vishnu and said-
“The Tripurasurs are very virtuous so they could not be killed. You all must go to lord Vishnu and try to seek his help.”
The deities then went to lord Vishnu and made the same request. Lord Vishnu performed an oblation. Thousands of armed spirit appeared from the yagya-kunda. Lord Vishnu sent these spirits to kill the three demon-brothers. But these spirits were no match for the Tripurasurs might and they had to run for their lives. They came to lord Vishnu and narrated the whole story. Lord Vishnu became very worried. He sent back all the deities and started thinking about the means, Tripurasurs could be killed.
Lord Vishnu came to the conclusion that the Tripurasurs could not be killed till they remain Virtuous and religious. He then created an illusionary entity from his body who had no hairs on his head. He had worn dirty clothes and a bag was hanging down his shoulder. He also had a broom in his head.
The entity asked lord Vishnu about the purpose of his existence and his name. Lord Vishnu told him that his name was Arihan. He also instructed him to create a scripture which stresses upon the importance of action (Karmavad) and which is different from the rituals explained in the Vedas. Lord Vishnu specifically instructed him to keep the language of that scripture as simple and degenerated as possible.
Lord Vishnu then preached Arihan on the science of illusion which stressed that the heaven or the hell does not exist anywhere else, but on this earth itself.
Lord Vishnu instructed Arihan to get Tripurasurs initiated into with this philosophy so that the demon-brothers become irreligious. Vishnu ordered Arihan to make his residence in a desert with his disciples.
“You should propagate your philosophy when Kali Yuga arrives” – said Lord Vishnu.
After giving his instruction lord Vishnu disappeared. Arihan then created four illusionary entities from his bein who were supposed to act as his followers. Their names were Rishi, Yati, Keerya and Upadhyay.
Now the time had arrived to enter the forts of Tripurasurs. All of them entered the forts and in a gradual manner started increasing their influence. As a result the Tripurasurs became irreligious. Not only that, their subjects too became irreligious in a very short time.
When the deities saw that the Tripurasurs had become irreligious completely, they went to lord Shiva and requested him to kill Tripurasurs. Right then mother Parvati arrived there accompanied by Kartik and Ganesha. She requested Shiva to come along with her into the palace. All the deities followed them and kept on requesting. The deities were angry that Parvati
had caused obstacles in the fulfillment of their objective. They could not conceal their anger and expressed it.
One of the ganas of Shiva, whose name was Kumbhodar angrily attacked the deities. All of them got injured and went to lord Vishnu. Lord Vishnu advised them to chant the five lettered mantra – OM NAMAH SHIVAY for one crore times. The deities followed the instruction. Lord Shiva became pleased and appeared before them. He assured the deities that their wishes would be fulfilled.