This was the name given to today´s Hué in 2nd Century CE by the Cham people. The whole region was part of the Champa Kingdom until beginning of the 14th century. Dai Viet Kingdom was its neighbour.
In year 1306 Champa king Simhavarman III handed over two provinces to Viets in exchange for the hand of a Viet princess Huyen Tran.
Due to the kings early death the couple had only one year together. According to the tradition, his widow was supposed to follow him. Her life was to be taken in the offering ceremony. As the legend has it, the Viet king, brother of princess Huyen Tran, organized a plot to rescue her.
After many conflicts Viets conquered kingdom of Champa and made it their vassal in 1471. Gradually weakened Champa disappeared from the whole territory of todays Vietnam in the begging of the 19thCentury.