The Bhuridatta Jataka -
The King of Benares points to the spectacle in front of him.
Sudassana told him that the only way was to dig three enormous pits and to fill one with drugs, one with cow dung, and one with medicine. When this was done, he threw the three drops of poison into the three holes. They immediately exploded, filling the air with heat and thunder. The terrified Alambayana became as white as a leper, and he said three times, "I will set the naga prince free."
Whereupon Bhuridatta emerged from the jeweled basket and, assuming a radiant form, stood before the multitude in all his glory. The evil Brahmin crept away and was not seen again. The two brothers revealed themselves to the king as his nephews, and there was a great celebration before they returned to the naga kingdom.
At the end of his life, Bhuridatta, having succeeded in keeping the precepts, ascended to heaven with the hosts of virtuous nagas.