The Chidambaram temple legend is contained in the 12th-century text Chidambara-mahatmya. The central episode states that Shiva visits sages in the mythical Pine Forest in the form of a beggar accompanied by Mohini, none other than Vishnu in the avatar of a beautiful woman. Mohini triggers lustful interest of the sages, while Shiva performs Tandava dance that triggers the carnal interest of the wives of these sages. The sages ultimately realise how superficial their austerities have been. The episode becomes widely known. Two sages named Patanjali (also called Sesha-bodied in the south for his connection to Vishnu) and Vyaghrapada (also called Tiger-footed sage) want to see the repeat performance of this dance of bliss in the Thaillai forest, Chidambaram. They set up a Shivalinga, pray, meditate and wait. Their asceticism impresses Shiva who appeared before them in Chidambaram and performed the dance against the wall, in the blessed hall of consciousness. This is how this temple started, according to the mahatmya embedded in the Tamil Sthalapurana. According to Kulke, the late medieval text Chidambaramahatmya may reflect a process of Sanskritisation, where these North Indian named sages with Vedic links became incorporated into regional temple mythology.