Hanoi (Vietnamese: Quốc Ngữ Hà Nội; Chữ Nôm 河内) is the capital of Vietnam. In 2004, about 3,083,800 people lived in the city. It has been the capital of the Democratic Republic of Vietnam since 1945. Before that, it was the capital of the country now called Vietnam for most of the time from at least the 11th century until 1802. The city is on the right of the Red River. Things made there include machine tools, plywood, textiles, chemicals, and handicrafts. Hanoi is at 21°2' North, 105°51' East, 1,760 km north of Ho Chi Minh City (formerly Saigon).