Henry VII had bequeathed good relations with Scotland and had married his daughter (Henry VIII's sister Margaret) to James IV.
Encouraged by France, James IV attempted to invade England in 1513, while Henry was away in France.
The Scots were defeated decisively by the Earl of Surrey at the Battle of Flodden. James IV and eleven earls were amongst 10,000 killed.
English success and the death of James IV meant that Henry’s sister Margaret was regent for the young James V.
Although the French were still influential in Scotland i.e. James V would marry the French princess Marie de Guise, there was no further threat of invasion from Scotland during Wolsey’s ministry.