information:highlighting, quality:correction, structural:expansion, linguistic:voice_change, quality:corruption
Prehistory

The prehistory of the Han Chinese is closely intertwined with both archaeology, biology, historical textual records, and mythology. The ethnic stock to which the Han Chinese originally trace their ancestry from were confederations of late Neolithic and early Bronze Age agricultural tribes known as the Huaxia that lived along the Guanzhong and Yellow River basins in Northern China. In addition, numerous ethnic groups were assimilated and absorbed by the Han Chinese at various points in China's history. Like many modern ethnic groups, the ethnogenesis of Han Chinese was a lengthy process that involved the expansion of the successive Chinese dynasties and their assimilation of various non-Han ethnic groups that became sinicised over the centuries.

During the Western Zhou and Han dynasties, Han Chinese writers established genealogical lineages by drawing from legendary materials originating from the Shang dynasty, while the Han dynasty historian Sima Qian 's Records of the Grand Historian places the reign of the Yellow Emperor, the legendary leader of Youxiong tribes (有熊氏), at the beginning of Chinese history. The Yellow Emperor is traditionally credited to have united with the neighbouring Shennong tribes after defeating their leader, the Yan Emperor, at the Battle of Banquan. The newly merged Yanhuang tribes then combined forces to defeat their common enemy from the east, Chiyou of the Jiuli (九黎) tribes, at the Battle of Zhuolu and established their cultural dominance in the Central Plain region. To this day, modern Han Chinese refer themselves as " Descendants of Yan and Huang ".

Although study of this period of history is complicated by the absence of contemporary records, the discovery of archaeological sites has enabled a succession of Neolithic cultures to be identified along the Yellow River. Along the middle and lower reaches of the Yellow River were the Cishan culture (c. 6500–5000 BCE), the Yangshao culture (c. 5000–3000 BCE), the Longshan culture (c. 3000–2000 BCE) and the Erlitou culture (c. 1900–1500 BCE). These cultures are believed to be related to the origins of the Sino-Tibetan languages and later the Sinitic languages. They were the foundation for the formation of Old Chinese and the founding of the Shang dynasty, China's first confirmed dynasty.