A nickname given by the city in English for reasons concerning the surrounding and geography, Hanoi means "inside the river," with Ha meaning "river," while Noi implies "inside," thus literally translating as "between the river."The city lies on the right bank of the Red River's lower reaches and is surrounded from all sides by the Red River. In the previous year of 1831, the Nguyen dynasty's second emperor, Emperor Minh Mang, mandated the name change to Hanoi.