Wu Yuanheng (Chinese: 武元衡; 758 – July 13, 815), courtesy name Bocang (伯蒼), formally Duke Zhongmin of Linhuai (臨淮忠湣公), was an official of the Chinese Tang dynasty, serving as a chancellor during the reign of Emperor Xianzong. Wu descended from a family of officials related to Empress Wu Zetian of Zhou and rose in the Tang bureaucracy during Emperor Dezong's reign, holding senior positions in the provinces and at court. After Dezong's grandson Xianzong ascended the throne, Wu became a chancellor and later served with distinction as governor of Xichuan Circuit in modern Chengdu, where he was a patron of the eminent poet Xue Tao. He returned to court in 813 to serve as chancellor and director of the examination bureau, and in that capacity supervised the court's campaign against the Henan warl