It was told that the swady king “AshtapaNayaka” was without children. He was worried and therefore suggestions from his Royal Priest that king need to carve of one thousand “Shiva linga” on the banks of the river and need to worship them.
As a result he got one child.