In 1802 Nguyens were back on the Perfume River´s bank.
Nguyen Anh declared himself the emperor of Dai Nam (Great South) changing the name of now unified country from that given by the Chinese, An Nam (Pacified South).
Newly crowned emperor took a reign name Gia Long. His town of residence received a new name as well; Hoa, meaning Harmony. With time and by misspronunciation the word Hoa became Hué.