Lang and deposed the last Hùng king. Having submissions of Lạc lords, Thục Phán proclaimed himself King An Dương of Âu Lạc kingdom. In 179 BC, Zhao Tuo, a Chinese general who has established the Nanyue state in modern-day Southern China, annexed Âu Lạc, and began the Sino-Vietic interaction that lasted in a millennium. In 111 BC, the Han Empire conquered Nanyue, brought the Northern Vietnam region under Han rule. By the 7th century to 9th century AD, as the Tang Empire ruled over the region, historians such as Henri Maspero proposed that Vietnamese-speaking people became separated from other Vietic groups such as the Mường and Chứt due to heavier Chinese influences on the Vietnamese. Other argue that a Vietic migration from north central Vietnam to the Red River Delta in the seventh century replaced the original Tai-speaking inhabitants. In the mid-9th century, local rebels aided by Nanzhao tore the Tang Chinese rule to nearly collapse. The Tang reconquered the region in 866, causing half of the local rebels to flee into the mountains, which historians believe that was the separation between the Mường and the Vietnamese took at the end of Tang rule in Vietnam. In 938, the Vietnamese leader Ngô Quyền who was a native of Thanh Hóa, led Viet forces defeated the Chinese Southern Han armada at Bạch Đằng River and proclaimed himself king, became the first Viet king of polity that now could be perceived as "Vietnamese". Medieval and early modern period Ngô Quyền died in 944 and his kingdom collapsed into chaos and disturbances between twelve warlords and chiefs. In 968, a leader named Đinh Bộ Lĩnh united them and established the Đại Việt (Great Việt) kingdom. With assistance of powerful Buddhist monks, Đinh Bộ Lĩnh chose Hoa Lư in the southern edge of the Red River Delta as the capital instead of Tang-era Đại La, adopted Chinese-style imperial titles, coinage, and ceremonies and tried to preserve the Chinese administrative framework. The independence of Đại Việt, according to Andrew Chittick, allows it "to develop its own distinctive political culture and ethnic consciousness." In 979, Emperor Đinh Tiên Hoàng was assassinated, and Queen Dương Vân Nga married with Dinh's general Lê Hoàn, appointed him as Emperor. Disturbances in Đại Việt attracted attentions from neighbouring Chinese Song dynasty and Champa Kingdom, but they were defeated by Lê Hoàn. A Khmer inscription dated 987 records the arrival of