Krishna's birth story begins in Mathura, where the ruler Kamsa had imprisoned his sister Devaki and her husband Vasudeva because a prophecy warned him about a child in their family. As the story unfolds, the newborn Krishna arrives under dangerous circumstances.
The traditional narrative says that divine protection made it possible for Vasudeva to carry the infant across the Yamuna to the village of Gokul. There Krishna was placed under the care of Yashoda and Nanda while danger remained behind in Mathura.
Janmashtami remembers Krishna's birth and the beginning of the life that would become central to later Hindu devotional traditions. Many communities observe the festival with fasting, prayer, music, dramatic retellings, and celebrations at night. The story focuses on hope arriving in a moment of danger and on the care given to a vulnerable child.