In the second year of Xuanhe, Qin Liangyu, the daughter of a military general, entered the palace and became Jieyu. Because her father and brother had made great contributions at the border, the prime minister was jealous. The prime minister, together with Concubine Li, framed the Qin family for embezzling military pay. Her father and brother were beheaded, and she was deposed as a palace maid. From the clouds to the quagmire, she endured the humiliation, doing the lowest jobs in the palace, secretly contacted the old border officials, and formed an alliance with the Prime Minister's political enemies.