Around 650 BC, Yiqu had conquered most of its surrounding smaller tribes and began to expand eastwards, bringing it into direct conflict with the state of Qin.
In 361 BC, Duke Xiao of Qin ascended as the ruler of Qin, and appointed Wei Yang in 359 BC, who enacted a series of legalist reformations that greatly strengthened the state of Qin.