Nguyễn dynasty
The royal enclosure was first built during the Lý dynasty (1010) and subsequently expanded by the Trần, Lê and finally the Nguyễn dynasty. It remained the seat of the Vietnamese court until 1810, when the Nguyễn dynasty chose to move the capital to Huế. The ruins roughly coincide with the Hanoi Citadel today.