James IV (who was a canon of the cathedral) ratified the treaty of Perpetual Peace with England at the high altar on 10 December 1502.[11] The cathedral and the nearby castle played a part in the battles of Glasgow in 1544 and 1560.[12]