 In 266 BC, the Wei national Fan Ju (范雎) fled to Qin after being persecuted and tortured by the Wei chancellor, Wei Qi (魏齊), and vowed revenge upon his home state.He advised King Zhaoxiang about the strategy of "allying distant states while attacking nearby states" (遠交近攻).This advice impressed King Zhaoxiang so much that he appointed him as the chancellor of Qin.