Lord Ganesha's Elephant Grove Worship Legend
According to the Kanchi Puranam, before assuming His divine duty as the leader of the Ganas (Ganapathi) and the remover of obstacles (Vighneswara), Lord Vinayagar arrived at Kanchipuram. He selected a serene dense forest populated by celestial elephants (Anegam = Many Elephants, Thangavatham = Habitat/Shelter).
Lord Vinayagar dug a sacred bathing tank (Ganesha Theertham), established a Shiva Lingam, and performed intense penance. Impressed by Ganesha's unwavering devotion, Lord Shiva manifested from the Lingam, blessed Ganesha with supreme wisdom, and bestowed upon Him the boon that any obstacle faced by devas or mortals would be dispelled upon worshipping Ganesha. Since Lord Shiva was worshipped by Ganesha in the elephant grove, the presiding deity was named Sri Anegathangabhadheswarar (or Anegathangavathamudaiyar).
Saint Sundarar's Vision of the Serpent & Turtle Shiva
When Saint Sundaramurthy Nayanar visited Kachi Anegathangavatham during his pilgrimage across Thondai Nadu, he was spellbound by the tranquil forest atmosphere of the shrine. Sundarar composed his famous Tevaram decad starting with "Pambodu Amai" (பாம்போடு ஆமை).
In this decad, Sundarar sang of Lord Shiva's paradoxical divine nature: He who wears deadly serpents (Pambu) and turtle shells (Amai), who rides the sacred bull Nandi as a divine madman (Pithan), yet bestows supreme grace upon those who worship Him in the quiet elephant grove of Kanchipuram.
Kubera's Wealth Blessing
Kubera, the treasurer of the Devas, performed penance to Lord Anegathangabhadheswarar at this shrine to regain his celestial treasures (Nava Nidhis) after they were seized by demons. Lord Shiva restored Kubera's wealth and guardian status.