 This temple was built by Brahma after he found that Shiva attended the Yagna performed by him in the garb of a Tantric mendicant holding a skull.When Shiva was accosted for this appearance, he was piqued and filled the entire area of the yagna site with skulls.The agitated Brahma meditated to know the reason for such a situation, then he realised that the mendicant was none other than Shiva.