 After Liu himself was killed by Zhu around the new year 906, Zhang also took over the duties of the directors of finances and salt and iron monopolies.In 907, Emperor Ai was preparing to yield the throne to Zhu Quanzhong.As part of the ceremonial passage of the throne, Zhang, acting as the head of the legislative bureau (中書令, "Zhongshu Ling"), was put in charge of announcing the passage of the throne.