Đàng Ngoài

Đàng Ngoài (唐外, lit. "Outer Land"), also known as Tonkin, Bắc Hà (北河, "North of the River") or  Kingdom of Annam (安南國) by foreigners, was an area in northern Đại Việt (now Vietnam) during the 17th and 18th centuries as the result of Trịnh–Nguyễn War. The word "Đàng Ngoài" first appeared in the Dictionarium Annamiticum Lusitanum et Latinum by Alexandre de Rhodes.

Đàng Ngoài was de-facto ruled by the Trịnh lords with the Lê emperors acting as titular rulers. The capital was Thăng Long (now Hanoi). Thăng Long was also known as Đông Kinh 東京, meaning "Eastern Capital", from which the common European name for Đàng Ngoài "Tonkin" originated. It was bordered by Đàng Trong (under the Nguyễn lords) along the Linh River (modern Gianh River in Quảng Bình Province). The name gradually fell into disuse after Nguyễn Huệ's conquest of the north.