After regaining the throne in 1802 at the capital city of Huế in central Vietnam, Nguyễn Ánh reestablished the Confucian traditions and institutes that were overturned during the Tây Sơn uprising. Having returned to power with the aid of foreigners, this was in order to reassure the scholar-gentry families that comprised much of the government and bureaucracy of a return to the system that guaranteed their privileges. While this helped to legitimize the returning Nguyễn dynasty in the eyes of the mandarins and officials, it did little to assuage or address the grievances that sparked the Tây Sơn uprising.David Marr (1971) Vietnamese Anticolonialism, pg. 25
