The battle of Yamen was the final naval showdown of 1279 between the Song fleet and the Yuan at Yamen (in present Xinhui, Jiangmen, Guangdong) — the last resistance of the Southern Song broken there. After Jin fell in 1234 the Song faced the Mongols directly, the wars running year on year; Kublai proclaimed the Yuan in 1271, and in 1276 the Yuan armies entered the capital Lin'an, Empress Dowager Xie surrendering with the child Gongdi. Wen Tianxiang, Zhang Shijie and Lu Xiufu set up the young sovereigns in turn and fought on: the Duanzong emperor died of sickness in 1278, the court raised the eight-year-old Zhao Bing at Yamen, linking more than a thousand warships with great cables into a floating fortress. In the second month of 1279 Zhang Hongfan's Yuan fleets closed from north and south, cutting the Song's water first; the spent Song lines fought without yielding until attacked from front and rear at once — the host broke. Lu Xiufu, seeing all was lost, bound the child emperor Zhao Bing to him and leapt into the sea; the officials, soldiers and families followed — by the record, more than 100,000 bodies floated up within seven days — and Zhang Shijie, breaking out, drowned in the hurricane. Wen Tianxiang, captured before the battle, was carried north to imprisonment in the Yuan capital. Yamen proclaimed the end of the Southern Song and the Yuan's completion of the conquest of all China.