Most of the Gupta kings, beginning with Chandragupta II (Vikramaditya) (375-413 CE) were known as Parama Bhagavatas or Bhagavata Vaishnavas and had been ardent promoters of Vaishnavism. But following the Huna invasions, especially those of the Alchon Huns circa 500 CE, the Gupta Empire declined and fragmented, ultimately collapsing completely, with the effect of discrediting Vaishnavism, the religion it had been so ardently promoting. The newly arising regional powers in central and northern India, such as the Aulikaras, the Maukharis, the Maitrakas, the Kalacuris or the Vardhanas preferred adopting Shaivism instead, giving a strong impetus to the development of the worship of Shiva, and its ideology of power. Vaisnavism remained strong mainly in the territories which had not been affected by these events: South India and Kashmir.