Once in Satya Yuga, the Vindhya mountain had become too arrogant and began blocking the path of the sun and the moon. It began to grow higher and higher. Then the sage Agastya came and told him, "I am going south, give me way." Vindhya split itself and made a slender path for him, known as Agastya's Gateway. Reaching the other side of the mountain, observing Vindhya from top to toe, Agastya said, "Vindhya my child, what is this? You are growing crookedly, the plumb line is not correct! Some day you will topple over. On my return, I will teach you how to grow straight. Till then, stop growing." Vindhya said, "As you command." After that, a long time passed, but Agastya did not return. Then Vindhya, in fury, cursed that those who enter this Agastya's Gateway and meet face-to-face would lose their common sense. Hearing of the curse from a disciple, Agastya said, "Do not fear. After a while intelligence will return."
...