It was the site of the Battle of Yongqiu in 756. In Song Dynasty, Yongqiu was renamed to Qi. Cai Wenji, a Han Dynasty poet and composer,was born shortly before 178 in Yu Prefecture (圉縣), Chenliu Commandery (陳留), in what is now Qi County, Kaifeng, Henan.