The Battle of Guandu was a battle during the prelude to the Three Kingdoms period of Chinese history that took place at the Yellow River in 200. It was a crucial victory for the warlord Cao Cao (155-220) who defended his territories against his rival warlord Yuan Shao (154-202). The battle was a turning point in the war between Cao Cao and Yuan Shao, and marked the beginning of Cao Cao's gradual reunification of northern China, which made the establishment of the Cao Wei state possible.