Religious developments During the Gupta dynasty (4th to 6th century), Mahayana Buddhism turned more ritualistic, while Buddhist ideas were adopted into Vedic schools. The differences between Buddhism and Hinduism blurred, and Vaishnavism, Shaivism and other Hindu religions became increasingly popular, while Brahmins developed a new relationship with the state. As the system grew, Buddhist monasteries gradually lost control of land revenue. In parallel, the Gupta kings built Buddhist temples such as the one at Kushinagara, and monastic universities such as those at Nalanda, as evidenced by records left by three Chinese visitors to India. Hun invasions (6th century) Chinese scholars traveling through the region between the 5th and 8th centuries, such as Faxian, Xuanzang, Yijing, Hui-sheng, and Sung-Yun, began to speak of a decline of the Buddhist Sangha in the Northwestern parts of Indian subcontinent, especially in the wake of the Hun invasion from central Asia in the 6th century CE. Xuanzang wrote that numerous monasteries in north-western India had been reduced to ruins by the Huns. The Hun ruler Mihirakula, who ruled from 515 CE in north-western region (modern Afghanistan, Pakistan and north India), suppressed Buddhism as well. He did this by destroying monasteries as far away as modern-day Prayagraj. Yashodharman and Gupta Empire rulers, in and after about 532 CE, reversed Mihirakula's campaign and ended the Mihirakula era. According to Peter Harvey, the religion recovered slowly from these invasions during the 7th century, with the "Buddhism of Punjab and Sindh remaining strong". The reign of the Pala Dynasty (8th to 12th century) saw Buddhism in North India recover due to royal support from the Palas who supported various Buddhist centers like Nalanda. By the eleventh century, Pala rule had weakened, however. Socio-political change and religious competition The regionalisation of India after the end of the Gupta Empire (320–650 CE) led to the loss of patronage and donations. The prevailing view of decline of Buddhism in India is summed by A. L. Basham's classic study which argues that the main cause was the rise of an ancient Hindu religion again, "Hinduism", which focused on the worship of deities like Shiva and Vishnu and became more popular among the common people while Buddhism, being focused on monastery life, had become disconnected from public life and its life rituals, which were all left to Hindu Brahmins. Religious competition The growth of new forms of Hinduism (and to a lesser extent Jainism)