Emperor Ping (9 BC – February 3, AD 6)[1] 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 nine 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 toddler Emperor Ruzi, would be chosen by none other than Wang Mang himself.

Then-Liu Jizi was born in 9 BC. His father Liu Xing (劉興) was the youngest son of Emperor Yuan and the younger brother of Emperor Cheng. His mother was one of Prince Xing's consorts, Consort Wei (衛姬). Prince Jizi had three sisters (whose names are not recorded in history) but no brother. He was born with a heart ailment, which, when affliciting him, causes him to have circulation problems, manifesting itself outwardly as having his lips and appendages turn blue. He was raised by his paternal grandmother Consort Feng Yuan, a concubine of Emperor Yuan, who then had the title princess dowager in Prince Xing's principality.

Around the time of Prince Jizi's birth, Prince Xing was considered a potential imperial heir, because Emperor Cheng had no heirs, but eventually Emperor Cheng chose his nephew (Prince Jizi's cousin) Liu Xin (劉欣), because Emperor Cheng considered Prince Xin to be more capable than Prince Xing, and also wanted to adopt Prince Xin and make him his own son. When Emperor Cheng died in 7 BC, Prince Xin took the throne as Emperor Ai.

Also in 7 BC, when Prince Jizi was just 2, Prince Xing died, and Prince Jizi inherited his principality as the Prince of Zhongshan (roughly modern Baoding, Hebei). He continued to be periodically afflicted with his heart disorder. As a result, his grandmother Princess Dowager Feng hired many physicians and often prayed to the gods. In 6 BC, Emperor Ai, hearing about his cousin's illness, sent imperial physicians along with his attendant Zhang You (張由) to go to Zhongshan to treat Prince Jizi. This, however, would have dire consequences of Princess Dowager Feng.

The imperial attendant Zhang was himself afflicted with a psychiatric condition (probably bipolar disorder), and when he got to Zhongshan, he suddenly, in a rage, left there and returned to the capital Chang'an. Once he did and was ordered to explain his conduct, he made up a false reason—that he had discovered that Princess Dowager Feng was using witchcraft to curse Emperor Ai and his grandmother, Empress Dowager Fu. Empress Dowager Fu and Princess Dowager Feng were romantic rivals when they were both consorts to Emperor Yuan, and Empress Dowager Fu decided to use this opportunity to strike at Princess Dowager Feng. She sent a eunuch, Shi Li (史立), to serve as investigator, and Shi tortured a good number of Princess Dowager Feng's relations (including her sister Feng Xi (馮習) and her sister-in-law Junzhi (君之)), some to death, but still could not build a solid case against Princess Dowager Feng. Shi Li decided to show Princess Dowager Feng who was actually behind the investigation, by referring to an incident in which then-Consort Feng defended Emperor Yuan against a bear which had broken loose. Princess Dowager Feng, realizing that Empress Dowager Fu was behind the investigation, went back to her palace and committed suicide. In total, 17 members of the Feng clan died as a result of the investigations. Prince Jizi, then still a toddler, was spared. (Princess Dowager Feng's reputation would be restored, and her accusers severely punished, in 1 BC, after the deaths of Emperor Ai and Empress Dowager Fu.)

In 1 BC, Emperor Ai died without an heir. His stepgrandmother, Grand Empress Dowager Wang, quickly seized power back from Emperor Ai's male favorite (and probable lover) Dong Xian, and recalled her nephew Wang Mang as regent. Wang Mang quickly carried out a wave of retaliation against Dong Xian and Emperor Ai's Fu and Ding (relatives of his mother Consort Ding) relations, purging them from government, and at the same time purging many actual or potential political enemies, while at the same time pretending to Grand Empress Dowager Wang to be faithful to Han. Prince Jizi, as the only surviving male descendant of Emperor Yuan (both Emperors Cheng and Ai having died without issue), was considered the logical successor, and he was welcomed to Chang'an to succeed his cousin.

Almost immediately after Emperor Ping took the throne, Wang Mang began to carry out a regime to return governmental structure to ancient days of the Zhou Dynasty and the even more ancient Xia Dynasty and Shang Dynasty. He also aggressively pursued a program to build up a personality cult about himself, wanting to have himself recognized as a holy regent on the scale of the Duke of Zhou. In 1, for example, after having his political allies convincing Grand Empress Dowager Wang of his great faithfulness and great achievements, he was created the Duke of Anhan (安漢公, literally "Duke who made Han secure"), even though there had not been a single duke created in Han history up to that point. Further, to appease both the disaffected nobility and the people, Wang Mang insitituted a program to restore marquess titles to descendants of past imperial princes and marquesses, started a pension system for retired officials, and reduced taxes. He also bribed vassal states into making offerings of rare animals, viewed as signs of heavenly blessing, to Han. With all people praising Wang Mang, he managed to persuade Grand Empress Dowager Wang, then already 69 years old, to have him make the important state decisions, rather than have her do so, and Wang Mang immediately became the most powerful figure in the empire.

To prevent Emperor Ping's Wei relations from becoming powerful potential rivals at court, Wang Mang limited the titles of Emperor Ping's uncles to acting marquesses (關內侯) and his mother Consort Wei to "Princess Xiao of Zhongshan" ("Prince Xiao" being Prince Xing's posthumous name), and only created Emperor Ping's three sisters ladies (君). He also ordered that the Weis, including Consort Wei, and Emperor Ping's sisters not to be allowed to go to Chang'an to see him, but were to remain in Zhongshan.

In 2, to reduce the burden of the people in naming taboo, Emperor Ping's name was changed to Kan (衎), since Ji and Zi were commonly used characters.

Also in 2, Wang Mang decided to have his daughter married to Emperor Ping to further affirm his position. Initially, he started a selection process of eligible noble young ladies (after declaring, in accordance with ancient customs, that Emperor Ping will have one wife and 11 concubines). However, then, in an act of false modesty intended to create the opposite result, he petitioned Grand Empress Dowager Wang that his daughter not be considered -- and then started a petition drive by the people to have his daughter be selected as empress. The petitioners stormed the outside of the palace, and Grand Empress Dowager Wang, overwhelmed by the display of affection for Wang Mang, ordered that Wang Mang's daughter be made empress.

Wang Mang's son Wang Yu (王宇) disagreed with his father's dictatorial regime and program to build up his personality cult, afraid that in the future the Wangs would receive a backlash when Emperor Ping was grown. He therefore formed friendships with Emperor Ping's Wei uncles, and told Consort Wei to offer assurances to Wang Mang that she would not act as Emperor Ai's mother and grandmother did, trying to become an empress dowager. Wang Mang still refused to let her visit the capital.

In 3, Wang Yu formed a conspiracy with his teacher Wu Zhang (吳章), his brother-in-law Lü Kuan (呂寬), and the Weis, to try to see what they can do to break Wang Mang's dictatorial hold. They decideed that they would create what appear to be supernatural incidents to make Wang Mang concerned, and then have Wu try to persuade Wang Mang to transfer power to the Weis. Wang Yu told Lü to toss a bottle of blood onto Wang Mang's mansion door to create that effect -- but Lü was discovered by Wang Mang's guards. Wang Mang then arrested Wang Yu, who then committed suicide, and his wife (Lü Kuan's sister) Lü Yan (呂焉) was executed. Wang Mang then executed the entire Wei clan, except for Consort Wei. Wu was cut in half and then drawn and quartered. (It is not known what happened to Lü, but it would appear that there would be no way for him to escape death.)

Wang Mang then took this opportunity to further wipe out potential enemies -- by torturing Wang Yu and Lü's coconspirators and then arrest anyone that they mentioned, and then have them either executed or forced them to commit suicide. The victims of this purge included Emperor Yuan's sister Princess Jingwu (敬武長公主), Wang Mang's own uncle Wang Li (王立), and his own cousin Wang Ren (王仁). He told Grand Empress Dowager Wang, however, falsely, that they had died of illnesses. Many other officials who were not willing to follow Wang Mang were also victimized in this purge. After this, Wang Mang's hold on power became absolute.

In 4, Emperor Ping officially married Wang Mang's daughter and created her empress.

In 5, Wang Mang revived an ancient ceremony intended for those who have made great contributions to the state, and had himself given the nine bestowments. (The "nine bestowments" would, after Wang Mang, thereafter become a customary step for usurpers to receive before they usurp the throne.)

Circa 5 AD, Emperor Ping, having grown older, appeared to have grown out of his earlier heart condition, and it became fairly plain that he resented Wang Mang for slaughtering his uncles and not allowing his mother to visit him in Chang'an. Wang Mang therefore resolved to murder the emperor. In winter 5 AD, Wang Mang submitted pepper wine (considered in those days to be capable of chasing away evil spirits) to the 13-year-old emperor, but had the wine spiked with poison. As the emperor was suffering the effects of the poison, Wang Mang wrote a secret petition to the gods, in which he offered to substitute his life for Emperor Ping's, and then have the petition locked away. (Historians generally believed that Wang Mang had two motives in doing this -- one was, in case Emperor Ping recovered from the poisoning, to use this to try to absolve himself of involvement in the poisoning, and the second was to leave for posterity evidence of his faithfulness.) After a few days of suffering, Emperor Ping died. The throne would lie vacant for the next few years, as although Emperor Ping's cousin-once-removed, the infant Emperor Ruzi, would be selected as emperor, he would never actually take the throne. Wang Mang would serve as acting emperor and usurp the Han throne officially in 8 AD.