It is said that chaos reigned under heaven, and Grand General He Jin's plot to eliminate the eunuchs failed, resulting in his own death at their hands. His subordinates Yuan Shao and Cao Cao led troops into the palace and wiped out the eunuch faction. At that time, Dong Zhuo, summoned by He Jin, had already arrived in Luoyang with his Xiliang troops. Dong Zhuo seized the chaos to enter, absorbed He Jin's former forces and the Bingzhou army, and shook the court and the public. With his power so great, he then proceeded to depose and install rulers. One day, Dong Zhuo assembled civil and military officials at court and said, 'The current Young Emperor is weak and incompetent to rule over the realm. I wish to depose him and establish the Prince of Chenliu as emperor. What do you all think?' Everyone was terrified, and no one dared to speak. Only Ding Yuan stepped forward and said, 'To depose the legitimate heir and install a collateral one is not the proper way!' Dong Zhuo became enraged and wanted to behead Ding Yuan. Lü Bu stepped forward and said, 'Father and I are of one mind; who dares to disobey!' Thereupon he argued with Ding Yuan, and was persuaded by the assembled officials. Dong Zhuo then deposed the Young Emperor as Prince of Hongnong, established the Prince of Chenliu as Emperor Xian, made himself Chancellor, and monopolized court affairs.
Dong Zhuo was violent and tyrannical, arousing the hatred of the court and the people. Seeing Dong Zhuo's power growing daily and the realm on the verge of collapse, Cao Cao concealed the Seven-Star Precious Sword and entered the Chancellor's residence to assassinate him. Dong Zhuo was taking a nap in his inner chamber, with Lü Bu standing guard outside the door. Cao Cao sneaked in and saw Dong Zhuo lying on his back. Just as he was about to strike, Dong Zhuo turned over to face inward. In panic, Cao Cao hid the sword in its sheath and knelt beside the couch. Dong Zhuo suddenly woke up and asked, 'Mengde, why have you come?' Cao Cao replied, 'I came to present a precious sword to you, Chancellor.' Dong Zhuo took it and examined it. Knowing that the plot had been exposed, Cao Cao withdrew from the residence, seized a horse, and galloped away. Lü Bu gave chase, but Cao Cao was already far gone.
After fleeing Luoyang, Cao Cao went straight to Chenliu, dispersed his family wealth, issued a forged imperial edict, and summoned the lords of various provinces to jointly campaign against Dong Zhuo. Upon hearing the news, heroes responded from all directions. The troops of eighteen lords rose up, elected Yuan Shao as their leader, and marched together to the Si River Pass.