Alagar koyil is a village in Madurai district. The history and living of the village is centered around Kallazhagar Temple. Constructed in the Dravidian style of architecture, Kallazhagar temple covers an area of about 2 acres (0.81 hectares) and has a five-tiered gopuram (gateway tower). The temple in enclosed in a rectangular enclosure with huge granite walls. The central shrine houses the image of the presiding deity, Uragamellayan Perumal in reclining posture on a snake bed similar to that of Srirangam Ranganathaswamy temple. The images of Sridevi and Bhudevi are also housed in the sanctum. There two life size images of Narasimha. One of them is shown holding the demon Hiranya and other slaying him. The temple houses some rare Vijayanagara sculptures similar to the ones present in Soundara raja perumal Temple, Thadikombu, Krishnapuram Venkatachalapathy temple, Srivilliputhur Divya Desam and Jalakandeswarar Temple, Vellore. Several religious literary works offer valuable information on this temple. The Hill was once a safe refuge for the Jain monks, the saivaite poet describes the event when a Jain monk sent a magical cow which was over-powered by Siva’s “Nanthi”. The cow which lost its power fell down and turned into a hillock and Siva’s ‘Nandhi’ also turned into a small mountain on the left side of this cow-like hillock. The presence of ‘Brahmin” script carved on stones inside some of the caves in these hills proves the presence of Jains in this area.