information:extraction
Qin and Han dynasties

The Qin dynasty unified China in 221 BC. The Han dynasty (206 BC – 220 AD) ruled the area under two provinces, You Prefecture in the north and Ji Province in the south. At the end of the Han dynasty, most of Hebei was under the control of warlords Gongsun Zan in the north and Yuan Shao further south. Yuan Shao emerged as the victor of the two, but he was defeated by Cao Cao in the Battle of Guandu in 200. Hebei came under the rule of the Kingdom of Wei, established by the descendants of Cao Cao.