This story is found in the Bhavishyottara-purana and runs as follows ;-
once Srinivasa put on a fine dress and started for hunt. He. chased an elephant and wandered a long distance and ultimately entered a garden. A beautiful young maiden and her companions, who were plucking Bowers, ran away on seeing the elephant and took shelter behind a tree. This maiden was the foster daughter of king a Akasaraja and was named Padmavati. This Akasaraja and his younger brother, Tondaman, were the sons of Suvira, a king of the lunar race. Akasaraja found Padmavati concealed in a lotus while he was getting a piece of land ploughed in order to construct a yagasala . Being childless, he took this child home, named her padmavati and brought her up. Subsequently, he had a son, named vasudana . SrSrinivasa approached Padmavati and described himself
Lord. One day, as Ranga- dasa was preparing the garlands, he saw a Gandharan couple sporting. Unable to control his mind he had an I ejection. Repenting for this, he threw away the garlands and flowers, 1 already prepared, had a purificatory bath, gathered fresh flowers, 1 made new garlands and went into the shrine. Gopinatha chided him I for being late but Rangadasa did not explain the reason for the delay I because of shame. A divine voice told Rangadasa “Your mind is I upset. You cannot do any good deed in this condition. Be born I again and this time as a king. Enjoy all worldly pleasures. Then build I a good abode for me. Once, some enemies will cause you trouble.!
I shall give you my samkha and chakra with which you will be able to overcome them.”
Rangadasa died and was bom as a king. He came to be called I Chakravarti and the people of the Dravida country called him I Tondaman. He lived at Narayanavanam and used to go every day! to Seshachala and worship the Lord. In course of time he built for] the god twoprakaras with two gopuras, the Garbhagriha, kitchen, 1 Yagasala, grannery and Gosala. He presented many jewels to the I god and instituted many festivals. Once number of enemies invaded ] his territory and harassed him. The king went to the Lord and sought j his help. The god lent him his own Samkha and Chakra. The kings defeated and drove away the enemies and came back to the Lord He then requested the Lord to stay as be was without the samkha and chakra and that his archa-image should be without them. The Lord agreed.