James IV of Scotland is defeated and dies in the Battle of Flodden Field, ending Scotland's involvement in the War of the League of Cambrai.