The king of Panchala, Drupada undertook a Putrakameshti yajna, a sacrifice to please the gods and obtain offspring by their blessing. Drupada desired a son who could kill Guru Dronacharya, who had humiliated Drupada in battle and taken half his kingdom. With the help of two saints (Maharishis Yaja and Upayaja), Drupada undertook the sacrifice. After his wife made the sacrificial offerings, Dhrishtadyumna emerged from the fire, a fully grown powerful young and armed man, together with his sister Draupadi. He already had martial and religious knowledge. Despite being younger than them, Dhristadyumna is appointed as the heir over his two siblings due to his heavenly parents. Even though he was the prophesied killer of Drona, he was accepted as a student by Drona, and he learned advanced military arts.