Chinese rule in Vietnam lasted for over a millennium, beginning in 111 BC when the Han Dynasty annexed the region and continuing, with various interruptions, until the 10th century AD.