Lê Hoàn
In the latter half of the 10th century, the kings of Indrapura came into conflict with the Đại Việt, who were then based at Hoa Lư near modern Hanoi. In 982, three ambassadors sent to Champa by emperor Lê Hoàn of the Đại Việt (founder of the Early Lê Dynasty) were detained in Indrapura. Lê Hoàn decided to go on the offensive, sacking Indrapura and killing the Cham King Parameshvaravarman I. As a result of these setbacks, the Cham eventually abandoned Indrapura around 1000 AD.