Upon hearing the pleas of His helpless devotees, Lord Shiva appeared in his Mahakala form and destroyed the enemies of King Chandrasena. Upon the request of his devotees Shrikhar and Vridhi, Lord Shiva agreed to reside in the city and become the chief deity of the Kingdom and take care of it against its enemies and to protect all His devotees. From that day on, Lord Shiva resided in His light form as Mahakala in a Lingam that was formed on its own from the powers of the Lord and His consort, Parvati. The Lord also blessed his devotees and declared that people who worshipped Him in this form would be free from the fear of death and diseases. Also, they would be granted worldly treasures and be under the protection of the Lord himself.