In 362 BC, the 21-year-old Yingqu Liang took over the scepter of the Qin state from his father, Qin Xiangong, and became the monarch of the new qin state, for the Duke of Qin. The State of Qin, which Was succeeded by Yingqu Liang, was a weak country with poor people and ups and downs, and just the year before, in order to recover Hexi, Qin Xiangong had a big battle with the State of Wei in Shaoliang, and the Qin army was defeated by the Wei army, and Qin Xiangong was also wounded by the rebel army, and finally died on it. The Battle of Shaoliang made the originally weak State of Qin even more tired, and the State of Qin not only failed to retake Hexi, but also lost Hangu Pass, and the State of Qin was in danger at this time. Just at this time, the State of Qi suddenly rose and challenged the hegemony of the State of Wei in the Central Plains, and the State of Wei did not take the opportunity to attack the State of Qin, and Yingqu Liang intended to take advantage of this short favorable opportunity to develop and expand the State of Qin, so he issued a "Decree to Seek Merit" to the world.

At this time, in the bustling city of Anyi, a mighty honor guard passed on the avenue, the whole time martial law was imposed, the burly warriors lined the streets, a luxurious and solemn carriage stopped at the gate of the Wei State Xiangguo Mansion, and from the carriage came down a majestic man, nearby people and soldiers "Long live the mountain". It turned out that the King of Wei (Hui) had personally come to visit Xiangguo (Gong Shu), but this great honor could not save Gong Shu's life, and at this time Gong Shu was already terminally ill, and the long years of government affairs and military affairs had exhausted the spirit of the first minister of Wei. The King of Wei and him were not only monarchs, but also the relationship between students and teachers, with the assistance of Uncle Gong, the state of Wei was as powerful as the sun, and now the Dongliang of the State of Wei was also his own teacher, and it was not okay to see it, and the King of Wei even cried in the inner chamber despite the etiquette of the king. Then the King of Wei asked his teacher for a candidate who could serve as Xiangguo, and Uncle Gongxuan excitedly recommended to the King of Wei the student he admired the most, Wei Martingale, and strongly demanded that the King of Wei reuse the Martingale, and if he did not reuse it, he would have to execute Wei Martingale, so as not to threaten the State of Wei for use by other countries.
Uncle Gong's painstaking efforts did not attract the attention of the King of Wei, and as usual, the King of Wei neither reused Wei Martingale nor executed Wei Martingale, and Wei Martingale was still an indispensable role in the State of Wei. Until a chance he saw Yingqu Liang's "Order for Meritocracy", his enthusiasm for meritorious service was once again ignited, and there was nothing to linger on in Wei Guowei Martingale, so he traveled thousands of miles alone to the Qin Kingdom.
After arriving in the Qin state, Wei Martin was still a man of few words, and in order to "sell" the concept of his own power to the monarch of the Qin state, he had to bribe the internal supervisor Jingjian. Under the soft and hard bubble of Jingjian, Yingqu Liang decided to borrow wei martingale to see how many pounds Wei Martingale really had. Originally thought that it would be a routine as usual, but this reception lasted for three days and three nights, and Yingqu Liang was completely attracted by Wei Martin's concept of a strong country, and when the meeting was over, the day after the meeting, Yin Qu Liang appointed Wei Martin as Zuo Shuchang (Xiang Guo) who was fully responsible for the reform and change of the Qin state.
Wei Martingale has been waiting for this day for decades, and the ideal in his heart is being realized step by step, and he has taken the Qin state as his own test field and begun a drastic reform. From the aspects of politics (abolition of Shiqing Shilu and the implementation of the county system), military (military merit awarding), economy (abolition of well fields, opening thousands of strangers, rewarding farming and weaving), social organization (establishment of a joint sitting system), social atmosphere (prohibition of private fighting, promotion of public war), "360 degrees of all-round no dead ends" to carry out vigorous and thorough reform.
After more than ten years of reform and change, the national strength of the Qin State has greatly increased, and the small universe has exploded, becoming the most powerful country. In order to recover the lost land in Hexi and to test the achievements of reforms over more than a decade BC, Qin Xiaogong issued an attack order to attack the State of Wei in 341 BC, which opened the prelude to the Great War of Hexi. The commander-in-chief of the Qin army to attack Wei was Zuo Shu Chang Wei Martin, the battle was completely one-sided, only half a day wei state garrison in Hexi was completely destroyed, the Qin state recovered in one fell swoop "fallen" a hundred years (hexi land in the Wei Wenhou era, occupied by the famous Wei general Wu Qi, and then became the Wei state of Xihe County) for a long time lost land in Hexi.
In recognition of Wei Martin's exploits, Yingqu Liang divided the 15 cities of Shangyu to Wei Martin as his fiefdom, and promoted him to Shang Jun, for which wei martingale was also known as Shang Martin.