 In the second year of the Emperor Ruizong of Tang (686), Wu Zetian approved the application, and issued a decree which granted permission for the creation of the state of Zhangzhou.Zhangzhou was to have jurisdiction over Zhangpu and Huaien Counties.Wu Zetian also ordered that Chen Yuanguang be given the position of chief magistrate of Zhangzhou, as well as commissioner of Zhangpu County.