竇建徳
Yuwen Huaji made Pei Ju the co-head (僕射, "Pushe") of the executive bureau of the government (尚書省, "Shangshu Sheng"). After he poisoned Yang Hao and declared himself emperor of a state of Xu (許) later in 618, he created Pei the Duke of Cai. He was subsequently captured and executed by another rebel ruler, Dou Jiande the Prince of Xia, in 619. Dou, as his government was then unorganized, had Pei draft the governmental organization and continue to serve as "Pushe" in his government, often inquiring Pei as to Sui governance and other related matters.