The Battle of Gaixia was the final battle of the Chu-Han war, fought in 202 BC at Gaixia (southeast of present Lingbi, Anhui) between Liu Bang's Han and allied armies and Xiang Yu's Chu. After Qin fell, Xiang Yu enfeoffed the lords and named himself Hegemon-King of Western Chu while Liu Bang, made King of Han, fought him four years for the empire. In 203 BC the two agreed on the Hong Canal as the boundary, dividing the realm in half; the pact signed, Liu Bang, on the counsel of Zhang Liang and Chen Ping, broke it and marched east, buying Han Xin and Peng Yue with promised kingdoms to bring their armies in. In 202 BC the allied hosts, hundreds of thousands strong, closed around Xiang Yu's 100,000 remnant at Gaixia; in the night the Han ranks sang Chu songs on every side, and the Chu soldiers, hearing home in every voice, broke. Xiang Yu rose and drank in his tent, bade farewell to Lady Yu, cut out south with 800 horse, fought and fell back stage by stage, and at the Wu River refused the ferry, opening his own throat. Liu Bang took the imperial title forthwith and founded the Western Han, the capital at Chang'an. Gaixia closed the wars and division since Qin's fall and reunited China — the hegemon's end amid songs of his homeland, and the victor's crown, became the material of literature and history ever after.