Mahayana Buddhism took root in ancient Java Sailendra court in the 8th century CE. The Mahayana reverence of female buddhist deity started with the cult of Tara enshrined in the 8th century Kalasan temple in Central Java. Some of Prajnaparamita's important functions and attributes can be traced to those of the goddess Tara. Tara and Prajnaparamita are both referred to as mothers of all Buddhas, since Buddhas are born from wisdom. The Sailendra dynasty was also the ruling family of Srivijaya in Sumatra. During the reign of the third Pala king Devapala (815-854) in India, Srivijaya Maharaja Balaputra of Sailendras also constructed one of Nalanda's main monasteries in India itself. Thereafter manuscript editions of the "Ashtasahasrika Prajnaparamita Sutra" circulating in Sumatra and Java instigated the cult of the Goddess of Transcendent Wisdom.