In the Shiva Purana, when Indra and Brihaspati were going towards Mount Kailash to meet Shiva their way was blocked by a yogi with matted hair and a radiant face. The yogi was Shiva himself, who had taken the form to test the knowledge of Indra and Brihaspati. Indra did not recognize the yogi and was infuriated at the fact that the man was not moving out of their way. Indra asked him to move but the man did not budge. After not getting any reply Indra became enraged and threatened him with his thunderbolt. Upon this action Indra's arm became paralyzed and Shiva neutralized the thunderbolt. Shiva became angry upon this action of Indra and his eyes turned red, frightening Indra. The anger caused Third eye to open, nearly killing Indra. Brihaspati recognized Shiva and prayed to him, requesting him to pardon Indra. To avoid killing Indra, Shiva sent the fire from his eye towards the ocean and upon meeting with the ocean it assumed the form of a boy. The boy cried terribly which caused Brahma to descend from heaven. The ocean told Brahma that he did not know where the boy came from. Brahma then told him that the boy will one day become the emperor of Asuras, he could only be killed by Shiva and after his death he would return to Third eye.