It is written in the Ramayana that the Divine King Rama built a bridge with Hanuman's help from here across the sea to Lanka to rescue his wife Sita from her abductor Ravana. The Ramanathaswamy Temple, dedicated to the Vedic god Shiva, is at the centre of the town and is closely associated with Rama.