End of the Han dynasty
The end of the Han dynasty refers to the period of Chinese history from 189 to 220 AD, which roughly coincides with the tumultuous reign of the Han dynasty's last ruler, Emperor Xian. During this period, the country was thrown into turmoil by the Yellow Turban Rebellion (184–205). Meanwhile, the Han Empire's institutions were destroyed by the warlord Dong Zhuo, and fractured into regional regimes ruled by various warlords, some of whom were nobles and officials of the Han imperial court. Eventually, one of those warlords, Cao Cao, was able to gradually reunify the empire, ostensibly under Emperor Xian's rule, but the empire was actually controlled by Cao Cao himself. Cao Cao's efforts to completely reunite the Han empire were rebuffed at the Battle of Red Cliffs in 208 / 209, when his armies were defeated by the allied forces of Sun Quan and Liu Bei. The Han dynasty formally ended in 220 when Cao Cao's son and heir, Cao Pi, pressured Emperor Xian into abdicating in his favour. Cao Pi became the emperor of a new state, Cao Wei. A year later, in response to Cao Pi's usurpation of the Han throne, Liu Bei declared himself emperor of Shu Han; and in 229, Sun Quan followed suit, declaring himself emperor of Eastern Wu. The period from Emperor Xian's abdication in 220 to the partial reunification of China under the Jin dynasty in 265 was known as the Three Kingdoms era in Chinese history.
Emperor Ping of Han
Emperor Ping (9 BC – 3 February 6 CE) was an emperor of the Chinese Han Dynasty from 1 BC to AD 5. After Emperor Ai died childless, the throne was passed to his cousin Emperor Ping—then a child of eight years old. Wang Mang was appointed regent by the Grand Empress Dowager Wang. Dissatisfied with his father's dictatorial regency, in AD 3, Wang's son Wang Yu (王宇) conspired with Emperor Ping's maternal uncles of the Wei clan against Wang, but after they were discovered, Wang had not only Wang Yu and the Weis (except Consort Wei) put to death, but also used this opportunity to accuse many actual or potential political enemies as being part of the conspiracy and to execute or exile them. From here onwards, the Han Dynasty existed only in name. Furthermore, Wang Mang also designated his daughter as the empress consort to Emperor Ping to codify his legitimacy to power. Emperor Ping was allegedly poisoned by Wang Mang after reigning less than six years, because Wang was concerned that he would avenge his uncles, and his successor, the infant Emperor Ruzi, would be chosen by none other than Wang Mang himself.