Yandi
The earliest events of Beijing's history are shrouded in legend and myth. The epic Battle of Banquan, which according to Sima Qian's "Records of the Grand Historian", occurred in the 26th century BC, may have taken place near the Upper and Lower Banquan Villages of Yanqing County on the northwestern edge of Beijing Municipality. The triumph of the Yellow Emperor over the Yan Emperor at Banquan united the two Emperors' tribes and gave rise to the "Huaxia" or Chinese nation, which then defeated Chiyou and the Nine Li tribes in the Battle of Zhuolu, possibly at Zhuolu, west of Yanqing in Hebei Province. This victory opened North China to settlement by the descendants of the Yan and Yellow Emperors.