The legend of Devipattinam is that when Lord Rama was proceeding towards Lanka in search of his wife Sita, Devi Mahishasuramardini; (the killer of the demon Mahishasura) appeared in his dream.