Dating by vietnam
) is first recorded in the 16th-century oracular poem Sấm Trạng Trình.
The name has also been found on 12 steles carved in the 16th and 17th centuries, including one at Bao Lam Pagoda in Haiphong that dates to 1558.
Following a Japanese occupation in the 1940s, the Vietnamese fought French rule in the First Indochina War, eventually expelling the French in 1954.
Thereafter, Vietnam was divided politically into two rival states, North Vietnam (officially the Democratic Republic of Vietnam), and South Vietnam (officially the Republic of Vietnam).
However, their rule did not last long, and they were defeated by the remnants of the Nguyễn lords, led by Nguyễn Ánh and aided by the French.
An independent Vietnamese state was formed in 939, following a Vietnamese victory in the Battle of Bạch Đằng River.
Successive Vietnamese imperial dynasties flourished as the nation expanded geographically and politically into Southeast Asia, until the Indochina Peninsula was colonized by the French in the mid-19th century.
In 207 BC, a Chinese general named Zhao Tuo defeated An Dương Vương and consolidated Âu Lạc into Nanyue.
However, Nanyue was itself incorporated into the empire of the Chinese Han dynasty in 111 BC after the Han–Nanyue War.