Emperor Zhao of Han sibling princess Eyi
Early reign and marriage
Early in Emperor Zhao's reign, Huo, Jin and Shangguan served as co-regents, with the key decisions being made by Huo.  The palace was run by Princess Eyi, Emperor Wu's daughter and Emperor Zhao's older sister, who had moved back to the palace to serve as Emperor Zhao's caretaker.
Prince Dan of Yan was not happy about the turn in events that led to Emperor Zhao's ascension.  In 86 BC, he secretly planned a rebellion, forming a conspiracy with two imperial clan members, Liu Zhang (劉長) and Liu Ze (劉澤).  The plan was for them to accuse Emperor Zhao of being not actually Emperor Wu's son, and then for Liu Ze, a grandson of a former prince of Qi, to start a rebellion in Linzi (in modern Linzi District, Shandong), the former capital of the Principality of Qi, while Prince Dan would then start a rebellion from his Principality of Yan (roughly modern Beijing).  The conspiracy was discovered, but Prince Dan was not punished, although the other conspirators were executed.
Later that year, Jin, a moderating influence in the co-regency, after being created a marquess on his sickbed, died.  Huo and Shangguan were subsequently created marquesses as well.  In the next few years, Shangguan, unhappy with his lesser role in the co-regency, tried to gain more power over Huo, even though the two had previously been great friends, and Huo had given his daughter in marriage to Shangguan's son Shangguan An (上官安).  The young couple had a daughter, who was age five in 84 BC, when Shangguan Jie wanted to marry her to the emperor.  Huo initially refused, believing her to be too young.
Shangguan Jie turned elsewhere for support of his plan.  Shangguan An was a friend of Princess Eyi's lover, Ding Wairen (丁外人).  He encouraged Ding to persuade the princess on the soundness of the marriage, reasoning that the Shangguans' power would be firmer with the marriage, and that they could then help Ding legitimize his relationship with Princess Eyi.  Princess Eyi agreed, and later in 84 BC, the young Lady Shangguan was appointed as an imperial consort.  In 83 BC, she was crowned empress.
brother or sister kin