Zhang Yizi Junsi, a native of Chengdu, Shu County. He studied the "Spring and Autumn Ram Biography" and read the "History" and "Book of Han". Xu Jing, a native of Runan, went to Shudi and said that Zhang Was a diligent man and was the same kind as Zhongyuan Zhongxuan. When Liu Zhang was the pastor of Yizhou, Zhang Yi was elected as Xiao Lian and served as the governor of Yufu County. Later, he returned to Yizhou as an agent and concurrently served as a sima under the account. Zhang Fei entered Shudi from Jingzhou from the Mat River, and Liu Zhang had a team of Zhang Yi's men and horses defend Against Zhang Fei at Moxia Town, Deyang County, and returned to Chengdu after the defeat. He also sent an envoy for Liu Zhang to see Liu Bei, and Liu Bei promised to treat Liu Zhang with courtesy and properly place his subjects. When Zhang Yi returned, the gates of Chengdu were opened, and Liu Zhang surrendered. Liu Bei ordered Zhang Yi to be the Taishou of Ba County, and later returned to Chengdu to serve as the general of Sijin Zhonglang, supervising the manufacture of agricultural tools and weapons. Earlier, the Yizhou commanders had killed Taishou Zheng'ang, and the old leader Yong Min was known for his virtue and faith in the south, so he sent people around to communicate with Sun Quan, who was still far away in the east. Liu Bei then appointed Zhang Yi as the Taishou of Yizhou, passing through the county seat. Yong Min hesitated and refused to submit, and then sent out a word under the guise of the ghost sect: "Zhang Fujun is like a pot made of gourds, the appearance is smooth and rough, it is not worth killing, tie him up and give him to Eastern Wu." "He escorted Zhang Yi to Eastern Wu."

After Liu Bei's death, Zhuge Liang sent Deng Zhi to the State of Wu, asking Deng Zhi to ask Eastern Wu to return Zhang after talking about the main matters. Zhang Yi was exiled and reclusive in the Wu Kingdom for several years, and Sun Quan did not know this person at all, so he promised Deng Zhi to return Zhang Yi. Before Zhang Yi left, Sun Quan summoned him and said, "The widow of the Zhuo clan of the Shu kingdom, Jingran and Sima Xiang, eloped, how can the customs of your country be like this?" Zhang Yi replied, "I think that the widow of the Zhuo clan is still more virtuous than Zhu Maichen's wife." Sun Quan asked him again: "After you go back, you will definitely serve the Shu kingdom, and you will no longer be trapped in the alley like a peasant, what will you use to repay me?" Zhang Yi replied, "I have returned to China after I have been convicted, and my fate has been arranged by the imperial court." If I can keep my head by chance, then I was the life given by my parents before I was fifty-eight years old, and from now on I am the life that you have rewarded the King. Sun Quan laughed, indicating that he was very talented. As soon as Zhang Yi left the door of Sun Quan's palace, he regretted that he had not been able to pretend to be stupid, so he quickly boarded the ship and doubled down on the fast line. Sure enough, Sun Quan sent someone to chase him, at this time, Zhang Yi had entered the Yong'an Realm for dozens of miles, and the people who were chasing him could not catch up.
Zhang Yi returned to Chengdu, and Zhuge Liang, the chancellor, appointed him to join the army, handle the official affairs of the Chancellor's Mansion, and concurrently serve as the governor of Yizhou. Zhuge Liang went north to enter Hanzhong, and Zhang Yi served as the governor of the imperial household as a lieutenant of the Archery School. He often praised Zhuge Liang, saying: "Zhuge Gong awards will not miss people from afar, the execution of punishment will not protect the people around him, there is no merit and knighthood can not be obtained, although the punishment of the powerful cannot be avoided, this is the reason why both the wise and the foolish can do their best!" The next year, he went north to Hanzhong to ask Zhuge Liang for instructions, hundreds of people came to see him off, vehicles crowded the road, he wrote to people close to him, saying: "I will go on the road in the near future, receive guests day and night, and cannot rest, people respect the position of governor of the Chancellor's Mansion and I am attached to this official position, so I am tired to death." That's how he talks witty, fluid and agile. When he was young, he had a good relationship with Yang Gong of Qianwei County, Yang Gong died early, and the children left behind were only a few years old, so Zhang Yi took Yang Gong's family members into his own home, lived in separate houses, and served Yang Gong's mother as if she were his own mother. After Yang Gong's sons grew up, he married them again, bought land and property, and let them stand on their own. It is very moral to care for the relatives of old friends and to relieve the declining family. He was appointed as the general of the Auxiliary Han Dynasty, and still concurrently served as a long history. Jianxing died in eight years. His son Zhang Bi took the throne. He served as a sheriff and overseer of three counties. Zhang Bi's younger brother, Zhang Yu, was the crown prince.
Zhang Yi (165–230 AD), Shu Fu Han general and Chancellor Of The Chu Dynasty.