 Then in August 1497, James laid siege to Norham Castle, using his grandfather's bombard Mons Meg.James recognised nonetheless that peace between Scotland and England was in the interest of both countries, and established good diplomatic relations with England, which was emerging at the time from a period of civil war.First he ratified the Treaty of Ayton in 1497.