Liu Xie was born in 181 to Emperor Ling and his Consort Wang.
When Emperor Ling died in 189, an influential eunuch official whom he trusted, Jian Shuo, wanted to first kill Empress He's brother, General-in-Chief He Jin, and then install Liu Xie on the throne, and therefore set up a trap at a meeting he was to have with He Jin.