 However, in 288 BC, Qin was forced to back down when the five eastern states allied together and threatened to attack Qin again.It did not take long for Qin to strike back, capturing Xinyuan (新垣) and Quyang (曲陽) from Wei in 287 BC, and the former Wei capital Anyi (安邑) in 286 BC.In 283 BC, Qin allied with Zhao and attacked Wei again, capturing Ancheng (安城) with its vanguard reaching near the Wei capital Daliang (大梁).