After about 300 years of partition by feudal dynasties, Vietnam was again under one single authority in 1802 when Gia Long founded the Nguyễn dynasty, but the country became a French protectorate after 1883 and under Japanese occupation after 1940 during World War II. Soon after Japan surrendered on 2 September 1945, the Việt Minh in the August Revolution entered Hanoi, and the Democratic Republic of Vietnam was proclaimed on 2 September 1945: a government for the entire country, replacing the Nguyễn dynasty. Hồ Chí Minh became leader of the Democratic Republic of Vietnam. U.S. President Franklin D. Roosevelt was opposed to a return to French rule in Indochina, and the U.S. was supportive of the Viet Minh at this time.