The Third Era of Northern Domination refers to the third period of Chinese rule in Vietnamese history. The era starts from the end of the Vạn Xuân Kingdom in 602 to the rise of the local Khuc family and other Viet warlords in the early 10th century, finally ending in 938 after the defeat of Southern Han armada by the Vietnamese leader Ngo Quyen. This period saw two Chinese imperial dynasties rule over northern Vietnam. The Sui Empire ruled northern Vietnam from 602 to 618, and briefly reoccupied central Vietnam in 605. The successive Tang Empire ruled northern Vietnam from 621 to 880.