The alliance dates from the treaty signed by John Balliol and Philip IV of France in 1295 against Edward I of England. The treaty said that if either country was attacked by England, the other country would invade England. That happened at the Battle of Flodden Field, 1513. The alliance played an important role in conflicts between both countries and England, such as the Wars of Scottish Independence, the Hundred Years' War, the War of the League of Cambrai and the Rough Wooing.