Song Jing
In 711, Zhang was given the designation "Tong Zhongshu Menxia Pingzhangshi" (), making him a chancellor "de facto". At that time, there was much struggle at court between the factions of Princess Taiping and Li Longji. At one point, there was a prediction by a sorcerer that there would be an incursion into a palace—a prediction that much troubled Emperor Ruizong. Zhang stated that this rumor must have been spread by someone who was intent to harm Li Longji, and that the best way to dissipate the rumors would be for Emperor Ruizong to transfer some of the authority to Li Longji—an assessment that fellow chancellor Yao Chong concurred in. Emperor Ruizong agreed and did so. (However, when Yao and Song Jing then proposed sending Princess Taiping and two princes with arguably better claims on the crown prince title than Li Longji—his older brother Li Chengqi the Prince of Song and cousin Li Shouli the Prince of Bin (the son of Emperor Zhongzong's and Ruizong's older brother Li Xian (note different character than Emperor Zhongzong)) -- out of the capital, Princess Taiping found out and got Yao and Song demoted out of the capital, although Zhang was not demoted at that time. Later that year, however, as a part of a government reorganization, Zhang, along with the other chancellors, were removed from their chancellor positions. Zhang was made "Shangshu Zuo Cheng" (), one of the Secretaries General of the executive bureau (尚書省, "Shangshu Sheng"), and given an office in Luoyang, away from Chang'an.