quality:correction, linguistic:paraphrasing, linguistic:translation
Champa at its height

Several granite tablets and inscriptions from My Son, Tra Kieu, Hue, Khanh Hoa dated 653–687 report a Cham king named Jaya Prakāśadharma who ascended the throne of Champa as Vikrantavarman I (r. 653–686). Prakāśadharma had thorough knowledge of Sanskrit learning, Sanskrit literature, and Indian cosmology. He authorized many constructions of religious sanctuaries at My Son and several building projects throughout the kingdom, laying down the foundations for the Champa art and architectural styles. He also sent many embassies regularly to the Tang Empire and neighboring Khmer. The Chinese reckoned Champa during the 7th century as the chief tributary state of the South, on par with the Korean kingdoms of Koguryŏ in the Northeast and Baekje in the East — "though the latter was rivaled by Japan."

Between the 7th to 10th centuries CE, the Cham polities rose to become a naval power; as Cham ports attracted local and foreign traders, Cham fleets also controlled the trade in spices and silk in the South China Sea, between China, the Indonesian archipelago and India. They supplemented their income from the trade routes not only by exporting ivory and aloe, but also by engaging in piracy and raiding. However, the rising influence of Champa caught the attention of a neighbouring thalassocracy that considered Champa as a rival, the Javanese (Javaka, probably refers to Srivijaya, ruler of the Malay Peninsula, Sumatra and Java). In 767, the Tonkin coast was raided by a Javanese fleet (Daba) and Kunlun pirates, Champa was subsequently assaulted by Javanese or Kunlun vessels in 774 and 787. In 774 an assault was launched on Po-Nagar in Nha Trang where the pirates demolished temples, while in 787 an assault was launched on Virapura, near Phan Rang. The Javanese invaders continued to occupy southern Champa coastline until being driven off by Indravarman I (r. 787–801) in 799.

In 875, a new Buddhist dynasty founded by Indravarman II (r. ? – 893) moved the capital or the major center of Champa to the north again. Indravarman II established the city of Indrapura, near My Son and ancient Simhapura. Mahayana Buddhism eclipsed Hinduism, becoming the state religion. Art historians often attribute the period between 875 and 982 as the Golden Age of Champa art and Champa culture (distinguish with modern Cham culture). Unfortunately, a Vietnamese invasion in 982 led by king Le Hoan of Dai Viet, followed by Lưu Kế Tông (r. 986–989), a fanatical Vietnamese usurper who took the throne of Champa in 983, brought mass destruction to Northern Champa. Indrapura was still one of the major centers of Champa until being surpassed by Vijaya in the 12th century.