Hue's Imperial City was the seat of Vietnamese power for 143 years. Emperor Gia Long, first of the Nguyen Dynasty, decided to move the capital from Hanoi into the center of the country, and built its massive citadel along the banks of the Perfume River.