Shiva is worshipped as “Kampahareswarar” in this temple as he had removed the quaking (Sanskrit Kampa) of a king who was being haunted by a Brahmarakshasa (Evil Spirit) on account of the king killing a Brahmin by mistake.
The temple follows the Dravidian style of architecture. An unusual feature of the temple is that the Vimana is extremely high unlike other Dravidian-style South Indian temples. The architecture of the temple is similar to the Big Temple at Thanjavur, Airavatesvara Temple at Darasuram and Gangaikonda Cholapuram temples.
The distinct features of all the temples is the Vimana, which is an unusual feature in Dravidian temples.
There is a separate shrine for Sarabeswarar, a fusion of man, eagle and lion, with a metal statue of the deity within the Sanctum, having intricate artistic work.
As per inscriptions found in the southern wall of the temple, the shrine was constructed by the Chola king Kulothunga Chola III as a memorial for his successful North Indian campaign.
The main deity of the temple is Shiva Lingam in the form of Kampaheswarar.