 When Emperor Zhaozong was deposed by a group of powerful eunuchs — Liu Jishu and Wang Zhongxian (王仲先) the commanders of the Shence Armies and the directors of palace communications Wang Yanfan (王彥範) and Xue Qiwo (薛齊偓) — in late 900, in favor of his son Li Yu, Prince of De the Crown Prince, Cui persuaded a group of Shence Army officers to carry out a countercoup in spring 901 to restore Emperor Zhaozong.Wang Pu was involved in Cui's persuasion of the Shence Army officers as well, and soon thereafter was made an imperial scholar (翰林學士, "Hanlin Xueshi") and deputy minister of census (戶部侍郎, "Hubu Shilang").Shortly after Wang Pu's commission as imperial scholar and deputy minister of census, he was further made "Zhongshu Shilang" (中書侍郎), the deputy head of the legislative bureau of government (中書省, "Zhongshu Sheng"), and a chancellor, with the designation of "Tong Zhongshu Menxia Pingzhangshi" (同中書門下平章事), apparently at Cui Yin's recommendation.