Acquisition and consolidation of Ji Province (191) As many volunteers from different provinces had flocked to join Yuan Shao, Bohai Commandery would be far from sufficient to supply his army. Thus,
Pang Ji suggested to Yuan Shao to form a secret alliance with the warlord
Gongsun Zan and incite the latter to attack Han Fu's
Ji Province. Facing an imminent attack from Gongsun Zan, Han Fu was terrified so he listened to Yuan Shao's lobbyists,
Gao Gan (Yuan Shao's nephew) and
Xun Chen, to give up the governorship of Ji Province to Yuan Shao in order to drive back Gongsun Zan. Yuan Shao then began to build a warlord state from
Ye, the capital of Ji Province. In order to curtail Yuan Shu's sphere of influence, Yuan Shao formed an alliance with Cao Cao and Zhang Miao, and named his follower,
Zhou Yu () as the Inspector of
Yu Province, a title to which Sun Jian had already been entitled, and sent him to attack Sun Jian's territories in Yu Province while the latter was on his way back from Luoyang. In response, Yuan Shu allied with Gongsun Zan and
Tao Qian, and ordered Sun Jian to fight his half-brother. Although Zhou Yu managed to defeat the forces of Sun Jian in the
Battle of Yangcheng, he lost to Sun Jian in the following battles. The first battles between the brothers ended in Yuan Shu's favour: he had engaged and defeated Yuan Shao's forces in both Yangcheng and Jiujiang, restored the position in
Yingchuan Commandery under Sun Jian, and eliminated Zhou Yu as a threat once and for all although Jiujiang was not yet conquered. For Yuan Shao, on the other hand, the situation was extremely difficult: besides the failure in the south, he was also under threat from Gongsun Zan, who held Yuan Shao responsible for the death of his cousin Gongsun Yue () in battle and formally declared war against him, rejecting all of Yuan Shao's protestations of goodwill. This led to the clash between Yuan Shao and Gongsun in the
Battle of Jieqiao. The Battle of Yangcheng, being the first move in the struggle between the two Yuans, marked the beginning of a new stage in the confusion of wars which brought about the end of the Han dynasty. This internecine struggle confirmed the undoing of the alliance against Dong Zhuo as the warlords of the
North China Plain started to battle each other for the ultimate dominion of China. In order to focus on the conflicts with Gongsun Zan, Yuan Shao entered into a general alliance with
Liu Biao against Yuan Shu. In the winter of that year, Yuan Shao defeated Gongsun Zan's elite cavalry at the
Battle of Jieqiao with the use of massed crossbowmen. The Han imperial court issued an edict ordering Yuan Shao and Gongsun Zan to cease fire. Yuan Shao then returned to Ye and started targeting the
Heishan bandits, who had been causing trouble in Ji Province. With temporary aid from
Lü Bu, Yuan Shao managed to defeat the Heishan bandits despite suffering heavy casualties. and defeating Beihai chancellor
Kong Rong in 196.
Refusal to host the emperor (195–196) In 195, Ju Shou suggested to Yuan Shao to welcome Emperor Xian to Ji Province so he could effectively control the Han central government and use the emperor as a figurehead to enhance his legitimacy. However,
Guo Tu and
Chunyu Qiong opposed this move under the faulty logic that if Yuan Shao were to do so, he would have to yield to Emperor Xian on key decisions. Yuan Shao, valuing his autonomy, listened to Guo Tu and Chunyu Qiong and let the opportunity pass by. In contrast, his would-be rival,
Cao Cao used the opportunity to welcome Emperor Xian to his base in
Xuchang, where the new imperial capital was established. In 196, the Han imperial court, under Cao Cao's control, awarded Yuan Shao the appointment of Grand Commandant. However, Yuan Shao rejected the appointment because Grand Commandant ranked below General-in-Chief, the position held by Cao Cao. As a result, Cao Cao gave up his position and offered it to Yuan Shao, who readily accepted it. Yuan Shao was also enfeoffed as the Marquis of Ye.
Annihilation of Gongsun Zan (198–199) In 198, Yuan Shao advanced against Gongsun Zan and encircled his remaining force at Yijing (present-day
Xiong County, Hebei). By early 199, Yuan Shao had completely defeated Gongsun Zan at the
Battle of Yijing and held absolute power over the four provinces north of the Yellow River. Then, after establishing an alliance with the
Wuhuan tribes on the northern frontier, Yuan Shao turned his attention to Cao Cao, who had consolidated his own power base to the south of the Yellow River. == Guandu Campaign (199–201) ==