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
England–Wales border the border between Wales and England, a border which has survived until today. It did not follow the old line of Offa's Dyke nor the eastern boundary of the Welsh dioceses; it excluded districts such as Oswestry and Ewias, where the Welsh language would continue to be spoken for centuries, districts which it would not be wholly fanciful to consider as "Cambria irredenta". Yet, as the purpose of the statute was to incorporate Wales into England, the location of the Welsh border was irrelevant to the purposes of its framers. An 1844 Act of Parliament later abolished several enclaves. One