As a Buddhist emperor, Ashoka believed that Buddhism is beneficial for all human beings as well as animals and plants, so he built a number of stupas, Sangharama, viharas, chaitya, and residences for Buddhist monks all over South Asia and Central Asia. He gave donations to viharas and mathas. He sent his only daughter Sanghamitra and son Mahindra to spread Buddhism in Sri Lanka. According to the Ashokavadana, he ordered the construction of 84,000 stupas to house the Buddhas relics.Ashoka also invited Buddhists and non-Buddhists for religious conferences. He inspired the Buddhist monks to compose the sacred religious texts, and also gave all types of help to that end. Ashoka also helped to develop viharas (intellectual hubs) such as Nalanda and Taxila. Ashoka helped to construct Sanchi and Mahabodhi Temple.