In Southern Song dynasty, after the Treaty of Shaoxing, Xiangyang became a garrison city on the northern frontier of Song. During Mongol conquest of the Song dynasty, Xiangyang together with Fancheng formed one of the greatest obstacles against the expansion of Mongol Empire. They were able to resist for six years before finally surrendering in the Siege of Xiangyang.