According to legend, Vinayaka, the son of Shiva, established Anegabeswarar in the form a Lingam (an iconic representation of Shiva). Anegabeswarar is believed to have killed the demon Iraniyapura king Kesi and arranged for the marriage of his daughter Vallabai with Vinayaga. Kubera, the king of wealth is also believed to have worshipped Angebeswarar. There are two Anegathangavadham temples, one in the North and one in the South. This temple is referred as Kachi Angegathangavadham to differentiate it from the northern shrine.