Lord Rama after his victorious battle left for Ayodhya in one of King Ravana’s Vimanas. He felt he was being followed by Bramahathi Dosham as he killed King Ravana who was a Brahmin. He stopped the Vimana at this juncture because he felt at this place the “Bramahathi Dosham” was not following him. He discended from the Vimana and asked God Shiva for a remedy. God Shiva blessed Lord Rama and advised him to install and pray four lingams in Manavari, Thirukoneshwaram, Thiruketheeswaram and Rameshwaram in India, as the only remedy to get rid of the Dosham.