Wang Shuwen
Meanwhile, though, Wang Shuwen had begun to draw the displeasure of the powerful eunuch Ju Wenzhen (俱文珍). In summer 805, when Wang Shuwen, wanting to strip the control of the imperial Shence Army from the eunuchs, had the general Fan Xichao (范希朝) made the commanding general of the Shence Army soldiers at the western frontier with Han Tai as his deputy, the eunuchs were alarmed. Ju had Wang Shuwen promoted in title to be the deputy minister of census (戶部侍郎) — but stripped of his imperial scholar status, making it impossible for him to be making decisions at Hanlin Institute. Wang Pi tried to intercede, but was only able to have Wang Shuwen allowed to visit Hanlin Institute once every three to five days to continue to look over the matters of state. Meanwhile, the eunuchs, believing that Wang Shuwen was intending them harm by giving Fan the command, instructed the Shence Army officers not to yield to Fan's orders. When Fan reached the frontier, none of the Shence Army officers came to greet him, and he was forced to return to the capital Chang'an. When Han Tai reported this to Wang Shuwen, Wang Shuwen became distressed but was unable to think of anything further to do.