 Legend also has it that the Saravanapoikai tank was created when Murugan struck his spear to the ground, upon being requested by his consort.Legend has it that this temple was first discovered by a Pandya king who came here on a hunting expedition after visiting the Perumal temple at Tirukkurunkudi and that the temple was expanded by his descendants.Vallioor was under the governance of Kulasekhara Pandyan of the 13th century, who fortified the village.