Gia Long
In 1802, Nguyen Phuc Anh (later Emperor Gia Long) succeeded in establishing his control over the whole of Vietnam, thereby making Hue the national capital.