Bhairava, the presiding deity in the garbhagriha is represented by the lingam known as Bairavanathar and Sivalokanathar. The Goddess is known as Sivakamasundari. In Abithana Sinthamani there is reference about Bhairava. An asura did penance and got a boon from Shiva, that he would be killed but only a woman. He thought that a woman would not kill him. He started disturbing one and all. Shiva created a woman and named her as Kali, and the asura was killed by Kali.