# Gao Pian Retakes Annam and Rebuilds Đại La (866 CE)

URL: https://allhistories.com/vietnam/timeline/866-gao-pian-retakes-annam-and-rebuilds-i-la
Location: Đại La (Hanoi)
Themes: Tang China, Hanoi origins

In late 866 the Tang general Gao Pian completed the reconquest of Annam from Nanzhao, executing the Nanzhao-backed commander Duan Qiuqian and the local chief Zhu Daogu. The region was reorganised as the Jinghai Circuit, with Gao as military governor. He also rebuilt the defences of the city, which later became known as Đại La. Gao had been appointed in 864 and spent two campaigns overcoming obstacles that included a hostile court eunuch, who intercepted his victory reports. In September 865 his small force surprised the dispersed Nanzhao troops. He cleared sea obstacles between Annam and Guangdong to ease supply, and the Nanzhao did not attack again. The Đại La citadel he ordered built became the base of later Vietnamese capitals. Lý Thái Tổ renamed it Thăng Long in 1010, and it is today Hanoi. Gao was recalled in 868, but the military governance he introduced paved the way for local strongmen to seize control of the circuit. At this point in the timeline (866 CE), the Red River Delta was the Tang protectorate of Annam (Annam Duhufu) (618 – 905 CE). Other contemporary rulers included Gao Pian, Tang general and military commissioner of Annam (866 – 868 CE).

## Why it matters
He restored Tang rule and built the Đại La fortress that would become Thăng Long and later Hanoi.

Ruler at the Time: [Tang dynasty protectorate of Annam](https://allhistories.com/vietnam/rulers/tang-dynasty-protectorate-of-annam)

## Sources
- [Wikipedia — Gao Pian Retakes Annam and Rebuilds Đại La](https://en.wikipedia.org/wiki/Gao_Pian)
- [Wikipedia — Imperial Citadel of Thăng Long](https://en.wikipedia.org/wiki/Imperial_Citadel_of_Th%C4%83ng_Long)

