Zhang Yi initiated Lian Heng's diplomatic strategy and lobbied for Qin. King Hui of Qin named Zhang Yi as Prime Minister. Later, Zhang Yi sent envoys to lobby the vassal states to break the "vertical" by "horizontal", so that countries in Lian Heng changed from joint vertical resistance to pro-Qin. Therefore, Zhang Yi was named Wu Xinjun by the King of Qin.
After the death of King Hui of Qin, Qin Wuwang, who acceded to the throne, didn't like Zhang Yi when he was a prince, so Zhang Yi fled Wei and became, and died a year later.