When the Nguyễn dynasty was established in 1802, Gia Long moved the capital to Huế. Thăng Long was no longer the capital, its Hán tự was changed from 昇龍 ("Rising dragon") to 昇隆 ("Ascent and prosperity"), aiming to reduce the sentiment of Lê dynasty. Emperors of Vietnam usually used dragon (龍 ''long'') as a symbol of their imperial strength and power. In 1831, the Nguyễn emperor Minh Mạng renamed it Hà Nội (河內, "Between Rivers" or "River Interior"). Hanoi was occupied by the French in 1873 and passed to them ten years later. As '''Hanoï''', it was located in the protectorate of Tonkin became the capital of French Indochina after 1887.