Towards the end of sacrifice, Gaya's head began rising
and shaking, might be due to the heat of the sacrificial fire. To make it
steady, Brahma bade the weightiest Dharnasila to be placed on his head, but to
no effect. He asked the gods to stand on the sila, the result eluded the grasp.
Then Sri Mahavishnu's image was placed; the target missed to the discomfort of
all. Realising, Sri Mahavishnu Himself stood and pressed the raising head with
his weightiest mace - Kaumodaki. Rising came to a grinding halt and the
performance achieved its goal. Soon after completion, pious Gaya prayed to Sri
Mahavishnu that all the gods including Sri Mahavishnu should stand on his head
permanently and the place, since then is called by the name of Gayashiras. And
also Vishnupada for the reason, it is on the head of Gaya, the Lord was standing
and the Lord's foot prints are visible testifying to the occurrence of the event.
In conformity with the prayer and to perpetuate the memory of this episode, the
image of the Lord Adi Gadadhara was installed and is being worshipped with due
veneration since then.