자롱
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. Work started in 1811 under a group of scholars led by Nguyễn Văn Thành, and in 1815, the "Bộ luật Gia Long" ("Gia Long Code") was issued. Although Gia Long claimed that his new system was a mixture of the Le code and Qing dynasty system of China, most scholars regard it as being a near-complete copy of the Qing code. The code was later translated into French by Paul-Louis-Félix Philastre. It focused on strengthening the power and authority of the emperor, his mandarins, and the traditional family unit. In cases of serious crimes, particularly those against the state, collective punishment was meted out to the family of the convict, including the death penalty.