Li County
Duke Wen succeeded his father Duke Xiang of Qin, who died in 766 BC while campaigning against the Quanrong in Qishan. He moved the Qin capital back to Quanqiu (犬丘, also called Xichui, in present-day Li County, Gansu) from Qian (汧, in present-day Long County, Shaanxi), but in 762 BC moved the capital again to the confluence of the Qian and Wei rivers.