It was eclipsed by Huế, the imperial capital of Vietnam during the Nguyen dynasty (1802-1945), but Hanoi served as the capital of French Indochina from 1902 to 1954.
Ai u eklipsuar nga Hue, kryeqyteti perandorak e Vietnamit gjatë dinastisë Nguyen (1802-1945), por Hanoi shërbeu si kryeqyteti i Indokinës Franceze nga 1902 deri 1954.