The Temple traces its mythology to that of Lord Yama (God of Death) who is said to have installed this Lingam and prayed to Lord Shiva for forgiveness and restoration of his strength after he was kicked on his chest by Lord Shiva in Thirukadavur at the behest of saving the life of Sage Markandeya. Lord Yama having lost his strength is said to have created a Tank (Yama Theertham) and installed this Lingam and had fervently prayed to Lord Shiva for forgiveness and restoration of his strength so that he can carry out his duties in full measure. Pleased by his prayers Lord Shiva is said to have granted a Staff (Dhandam) to Lord Yama in this place and restored his strength and hence the name Dandeeswarar - or bestower of mythical staff. The Lords Consort is Goddess Karunambika (Merciful Mother).