 According to an "Ashokavadana" legend, the Shunga king Pushyamitra tried to destroy the monastery, but it was saved by a miracle.Mahadeva is said to have received his ordination at Kukkutarama (Pataliputta), before becoming the head of the sangha.