China's Han Dynasty had seized control of of the Nanyue Kingdom which is now part of North Vietnam. This event marked the beginning of the Bắc thuộc Era which consists of multiple back and forth control of Vietnam.
The Vietnamese had fought to push out the Chinese and succeeded under the guidance of the Trưng sisters.
The Han Dynasty of China had returned to reclaim the land and end the Trưng sister's control of Vietnam and strengthened its control in the area.
The end of the ruling of the Chinese had been brought about by who is known as the first emperor of Vietnam, Lý Nam Đế.
A war had broken out between the Sui Dynasty of China and the Ly Dynasty of Vietnam. It had escalated when the cousin of Lý Nam Đế had delayed his attendance in the Chinese court and rebelled in 602AD. The war shifted the power from the Ly Dynasty to the Sui Dynasty.
The power then shifted from the Late Sui Dynasty to the Tang Dynasty of China.
Ngô Quyền had risen to power in Vietnam and took advantage of the weakened grip the Chinese had on Vietnam by proclaiming its independence.
King Ngô Quyền had died and the uprising of twelve warlords had come causing many civil wars and conflicts to take place in Vietnam.
Đinh Hoàn had created a new Dynasty after the extermination of the 12 warlords
Le Dynasty took over after the last emperor of the Dinh Dynasty had ceded the throne to Lê Hoàn.
Lý Thái Tổ had overthrown the Early Le Dynasty and taken control of Vietnam for himself.
Trần Thủ Độ had brought about the dethroning of the Ly Dynasty and got his nephew Trần Thái Tông to ascend the throne and become emperor.
Đại Việt had fought the decisive battle against Yuan Dynasty at Ha Long Bay and stopping the Mongol Invasions thereafter.
Hồ dynasty came to power.
The war started with the Ming dynasty helping a rival faction of the Ho Dynasty fight them.
Vietnam had fallen into the hands of the Ming dynasty after the Ming-Ho war.
Lê Lợi had driven the Ming army out of Vietnam and was coronated and given the throne.
Beginning of a chaotic anarchy-like era. This period of time was named after its leaders, the Tây Sơn brothers. This Era is comprised of rebellions from the poor and decentralized dynasties.
Emperor Gia Long had defeated the Tay Son Dynasty and claimed the throne to Vietnam for himself, thus creating the Nguyễn dynasty.
Formed in hopes of gaining national independence from invading countries.