Gia Long promulgated a new legal code to replace the system that had existed since the Hong Duc era of Lê Thánh Tông in the 15th century [REF].
Now that Vietnam was unified, the center of gravity of the country moved further south, following centuries of southerly migration and conquest,[REF] so Gia Long moved the seat of government from Hanoi to Huế [REF].