"Koodal Purana" details the origin of Vaigai river flowing through Madurai.It is believed that Vishnu stood up as Trivikrama, with one of his foot rising to the skies and the foot reached Brahmaloka, the abode of Brahma.