As per another legend, sage Bharathwaj was doing penance at this place and was attracted by a celestial nymph. The sage married her and they both got a son. The sage returned to his penance, while the nymph returned to her denizen. Shiva and Vishnu undertook the child under their aegis. At the same time, a Pallava king worshiped Vishnu for his child birth. Vishnu gave the child to the king and named him Parameswara, who went on to become the Pallava king. The place is believed to have been named after the king.