Wang Hui apparently only served very briefly as chief imperial censor, in 888 (during the time that Emperor Xizong was in transit from Fengxiang (鳳翔, in modern Baoji, Shaanxi) back to Chang'an), as Wang's biography in the Old Book of Tang indicated that he was commissioned at Fengxiang but resigned the post after Emperor Xizong's return to Chang'an, so this event would have been in 888. See Old Book of Tang, vol. 178 and Zizhi Tongjian, vol. 257.