 After the transition to Later Liang, Zhang remained chancellor.He was said to be the drafter of much of the regulations that the Later Liang imperial government used.When Emperor Taizu left Luoyang in 908 to battle the state of Jin (i.e., the lands ruled by Li Cunxu the Prince of Jin, who refused to recognize the new Later Liang regime), he left Zhang in charge of Luoyang.