Vishnu bore human form as Srinivasa, left Vaikuntam, in search of Lakshmi, reached Tirumala Hills and started meditating. Lakshmi came to know about the condition of Srinivasa and prayed to Shiva and Brahma. Shiva and Brahma then converted themselves into Cow and Calf and Goddess Lakshmi had handed over the cow and calf to Chola king ruling over Tirumala Hills at that time. The Cow would provide milk to Srinivasa daily while it was taken for grazing. One day Cowherd saw this and tried to beat the Cow with staff but Srinivasa had borne the injury. Getting angered by this Srinivasa had cursed the Chola king to become a Demon as dharma says Servants sin should be borne by Kings. The king prayed for mercy after which Srinivasa said to him, that the King should take next birth as Akasaraja and should perform marriage of his daughter Padmavati with Srinivasa.