Anglo-Scottish border English king, Edgar the Peaceful, at his council in Chester. After Kenneth had reportedly done homage, Edgar rewarded Kenneth by granting him Lothian. Despite this transaction, the control of Lothian was not finally settled and the region was taken by the Scots at the Battle of Carham in 1018 and the River Tweed became the "de facto" Anglo-Scottish border. The Solway–Tweed line was legally established in 1237 by the Treaty of York between England and Scotland. It remains the border today, with the exception of the Debatable Lands, north of Carlisle, and a small area around Berwick-upon-Tweed, which was taken
March law (Anglo-Scottish border) 1464 were not much more than a reiteration of those of 1457 that Henry VI and James II had signed. Border law worked even with the coming-back into power (briefly) of Henry VI and the accession of James III of Scotland. In 1473, new procedures for dealing with cross-border homicides were instituted, along with a limit on the number of retainers that could be invited to the days of march (which often ended in riotous behaviour, in part due to the sheer numbers of opposing armed bands). The war between England and Scotland of 1480-84 put the border courts into