The birth of the eighth child of Devki, Lord Krishna was followed by a chain of dramatic events. Soon after the birth of the child, as if by a sheer miracle, all the soldiers guarding the couple fell asleep and the gates of the dungeon flew open themselves. Vasudev decided to smuggle the child safely in a basket to his friend Nand in Gokul. Since it was raining heavily, River Yamuna was all swollen and Vasudev feared that both he as well as his child will drown if he tried to cross it, however, as soon as the feet of the infant touched the river, the flow of water became normal and Vasudev was able to cross it easily. Sheshnag, the five headed serpent of lord Vishnu protected the child with its fangs. Vasudev knew that his was not an ordinary child but a divine being. After handing his child, to his dear friend, Nand, Vasudev returned back safely with a girl child and no one got to know about it.
On hearing the news of the eighth born child, Kansa rushed to kill the girl. He paid no heed to Devkiís plead of sparing the girl. He held the child by her legs and just as he was about to bang her against the wall, the girl vanished into thin air and told Kansa that his slayer had been born and was safe in Gokul. The girl child was none other than Yogmaya (divine illusion). The eighth child grew up as Yashoda and Nandís son in Gokul and later killed his maternal uncle Kansa, freeing all the people of Mathura from his tyranny.