Two of his other siblings also survived, Balarama (Devaki's seventh child, transferred to the womb of Rohini, Vasudeva's first wife) and Subhadra (daughter of Vasudeva and Rohini, born much later than Balarama and Krishna).
Nanda was the head of a community of cow-herders, and he settled in Vrindavana. The stories of Krishna's childhood and youth tell how he became a cow herder, his mischievous pranks as Makhan Chor (butter thief), his foiling of attempts to take his life, and his role as a protector of the people of Vrindavana.
Krishna killed the demoness like Putana, disguised as a wet nurse, sent by Kansa for Krishna's life. He tamed the serpent Kliy, who previously poisoned the waters of Yamuna river, thus leading to the death of the cowherds.
Krishna lifted the Govardhana hill and taught Indra, the king of the devas and rain, a lesson to protect native people of Vrindavana from persecution by Indra and prevent the devastation of the pasture land of Govardhan.
The stories of his play with the gopis (milkmaids) of Vrindavana, especially Radha (daughter of Vrishbhanu, one of the original residents of Vrindavan) became known as the Rasa lila and were romanticised in the poetry of Jayadeva, author of the Gita Govinda.
On his return to Mathura as a young man, Krishna overthrew and killed his maternal uncle, Kansa, after avoiding several assassination attempts from Kansa's followers. He reinstated Kansa's father, Ugrasena, as the king of the Yadavas and became a leading prince at the court.
During this period, he became a friend of Arjuna and the other Pandava princes of the Kuru kingdom, who were his cousins. Later, he took his Yadava subjects to the city of Dwaraka (in modern Gujarat) and established his own kingdom there.