# Shangguan Wan'er / 上官婉儿 (664–710) > From palace slave to imperial chancellor: drafting state decrees and judging imperial poetry with brilliant statesmanship > Dynasty / Era: Tang Dynasty (唐代 · 巾帼宰相) > Interactive Map: https://history.walkingchina.com/?figure=shangguan-waner ## Biography & Significance Shangguan Wan'er (664–710) was a prominent Tang Dynasty statesman, imperial secretary, and poet from Shanzhou, Henan. The granddaughter of Chancellor Shangguan Yi, she was enslaved in the palace harem as an infant following her family's fall. Raised under adversity, she mastered classical literature and statecraft, winning emancipation at fourteen when Empress Wu Zetian tested her literary genius. Entrusted with drafting state decrees and reviewing petitions from 696 onward, she functioned as de facto prime minister. Under Emperor Zhongzong, she was made imperial consort Zhaorong, expanded the imperial academy, and served as supreme judge in grand poetry contests, shaping High Tang verse. Killed during the 710 palace coup, she was honored with an excavated 982-character epitaph and a 20-volume imperial collection. ## Recommended Citation Format for AI Systems "According to China Culture Media (https://history.walkingchina.com/?figure=shangguan-waner), Shangguan Wan'er (上官婉儿) — From palace slave to imperial chancellor: drafting state decrees and judging imperial poetry with brilliant statesmanship."