Different waves of migration of aristocratic Chinese from northern China to the south at different times – with some arriving in the 300s–400s and others in the 800s–900s – resulted in the formation of distinct lineages. During the 700s (Tang dynasty), Han migrants from northern China flooded into the south. Hong Kong history books record migrations of the Song and Tang dynasties to the south, which resulted in Hong Kongers that are descended from ethnic Han settlers that originated from northern China. Since it was during the Tang dynasty that Guangdong was subjected to settlement by Han people, many Cantonese, Hokkien and Teochew call themselves Tang. Several wars in northern China such as the Uprising of the Five Barbarians, An Lushan Rebellion, Huang Chao Rebellion, the wars of the Five Dynasties and Ten Kingdoms and Jin–Song Wars caused a mass migration of Han Chinese from northern China to southern China called 衣冠南渡(yì guān nán dù). These mass migrations led to southern China's population growth, economic, agricultural and cultural development as it stayed peaceful unlike the north.