Question: What was the capital of the dynasty for which Đại Việt sử ký was the official historical text?

Context articles: Đại Việt sử lược
Ngô Sĩ Liên
Nguyễn Thuyên
Đại Việt sử ký toàn thư
Lê Văn Hưu
Phạm Công Trứ
Kinh Dương Vương
Triệu dynasty
Song-Lý War
Đại Việt sử ký

The Đại Việt sử lược (literally "Abridged Chronicles of Đại Việt") or Việt sử lược (越史略, "Abridged Chronicles of Viet") is an historical text that was compiled during the Trần Dynasty.
 The 3-volume book was finished around 1377 and covered the history of Vietnam from the reign of Triệu Đà to the collapse of the Lý Dynasty.
 During the Fourth Chinese domination of Vietnam, the book, together with almost all official records of the Trần Dynasty, was taken away to China and subsequently collected in the "Siku Quanshu". "
Đại Việt sử lược" is considered the earliest chronicles about the history of Vietnam that remains today.
Ngô Sĩ Liên was an historian of the Lê Dynasty.
 He is best known for being the principal compiler of the "Đại Việt sử ký toàn thư", a comprehensive chronicle of the history of Vietnam and the oldest official historical record of a Vietnamese dynasty that remains today.
 In "Đại Việt sử ký toàn thư", Ngô Sĩ Liên is appreciated not only for the precision of his records but also for the innovative method of compilation, he was the first Vietnamese writer who extracted information for historical book from collections of myths and legends such as "Lĩnh Nam chích quái" or "Việt điện u linh tập".
 Until now, Ngô Sĩ Liên is always considered one of the most important figures of the historiography of Vietnam.
Nguyễn Thuyên or Hàn Thuyên (dates of birth and death unknown) was a 13th-century Vietnamese official and writer.
 According to "Đại Việt sử ký toàn thư", in 1282, he composed a piece of writing, throwing it into the Red River to chase away a crocodile, similar to what the Tang Dynasty official and writer Han Yu once did.
 As a result, Emperor Trần Nhân Tông gave him the surname Hàn.
 He is known as the first one to compose Vietnamese poems in chữ Nôm, although his works did not survive.
 Following the Chinese model, he divided the six tones of Vietnamese into "flat" (平) and "sharp" (仄), and used this distinction as the metrical foundation of his poems.
 The poets after him followed this practice.
The Đại Việt sử ký toàn thư (] , "Complete Annals of Đại Việt") is the official historical text of the Lê Dynasty, that was originally compiled by the royal historian Ngô Sĩ Liên under the order of the Emperor Lê Thánh Tông and was finished in 1479.
 The 15-volume book covered the period from Hồng Bàng Dynasty to the coronation of Lê Thái Tổ, the first emperor of the Lê Dynasty in 1428.
 In compiling his work, Ngô Sĩ Liên based on two principal historical sources which were "Đại Việt sử ký" by Lê Văn Hưu and "Đại Việt sử ký tục biên" by Phan Phu Tiên.
 After its publication, "Đại Việt sử ký toàn thư" was continually supplemented by other historians of the Lê Dynasty such as Vũ Quỳnh, Phạm Công Trứ and Lê Hi.
 Today the most popular version of "Đại Việt sử ký toàn thư" is the "Nội các quan bản" edition which was completed in 1697 with the additional information up to 1656 during the reign of the Emperor Lê Thần Tông and the Lord Trịnh Tráng. "
Đại Việt sử ký toàn thư" is considered the most important and comprehensive historical book about the history of Vietnam from its beginning to the period of the Lê Dynasty.
Lê Văn Hưu (1230–1322) was an historian of the Trần Dynasty.
 He is best known for his work the "Đại Việt sử ký", the first comprehensive historical record of the history of Vietnam.
 Although the book was lost during the Fourth Chinese domination in Vietnam, its contents, including Lê Văn Hưu's comments on various events in the history of Vietnam, were used by other Vietnamese historians as a base for their works, notably the "Đại Việt sử ký toàn thư" by Ngô Sĩ Liên.
Phạm Công Trứ (chữ Hán: 范公著, 1600-1675) was a Lê Dynasty Vietnamese scholar-official and historian.
 He was one of the scholar-historians of the Lê Dynasty along with Vũ Quỳnh and Lê Hi () to supplement Ngô Sĩ Liên's Đại Việt sử ký toàn thư.
Kinh Dương Vương (Hán tự: 涇陽王; "King of Kinh Dương") is a legendary ancient Vietnamese figure who was the first Hùng Vương (King Hùng), mentioned in the 15th-century work Đại Việt sử ký toàn thư with having grouped all the vassal states within his territory into a unified nation, and as the founder of the Hồng Bàng Dynasty.
 He is considered the first king of the Vietnamese people, and was the father of Lạc Long Quân.
 He is reported to have lived 260 years.
The Triệu dynasty (Vietnamese: "Nhà Triệu" ; 家趙) ruled the kingdom of Nam Việt ("South Yuè"), which consisted of parts of southern China as well as northern Vietnam.
 Its capital was Panyu, in modern Guangzhou.
 The founder of the dynasty, called Triệu Đà or Zhao Tuo, was a military governor for the Qin Empire.
 He asserted his independence in 207 BC when the Qin collapsed.
 The ruling elite included both ethnic Chinese and native Yue, with intermarriage and assimilation encouraged.
 Triệu Đà conquered the Vietnamese state of Âu Lạc and led a coalition of Yuè states in a war against the Han Empire, which had been expanding southward.
 Subsequent rulers were less successful in asserting their independence and the Han conquered the kingdom in 111 BC.
The Song-Lý War was a significant war fought between the Lý dynasty of Đại Việt and the Song dynasty of China between 1075 and 1077.
 The war began in 1075 when the Lý emperor ordered a preemptive invasion of the Song dynasty using more than 100,000 soldiers, where Đại Việt's forces defeated the Song army and razed the city of Yongzhou (modern day Nanning) to the ground after a forty-two day siege.
 In response, in 1076 the Song led an army of over 300,000 to invade Đại Việt and by 1077 nearly reached Thăng Long, the capital of Đại Việt, before being halted by general Lý Thường Kiệt at the Nhu Nguyệt River in modern Bắc Ninh Province.
 After a long battle at the river with high casualties on both sides, Lý Thường Kiệt offered peace to the Song, and the Song commander Guo Kui agreed to withdraw his troops, ending the war.
The Đại Việt sử ký (] , "Annals of Đại Việt") is the official historical text of the Trần dynasty, that was compiled by the royal historian Lê Văn Hưu and was finished in 1272.
 Considered the first comprehensive account of the history of Vietnam, the 30-volume book covered the period from Triệu Đà, the first king of the Triệu dynasty, to Lý Chiêu Hoàng which was the empress regnant and the last ruler of the Lý dynasty.
 Although it was lost during the Fourth Chinese domination in Vietnam, the contents of the "Đại Việt sử ký", including Lê Văn Hưu's comments about various events in the history of Vietnam, were used by other Vietnamese historians as a base for their works, notably the "Đại Việt sử ký toàn thư" by Ngô Sĩ Liên.