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
River Wye River Wye The River Wye () is the fifth-longest river in the UK, stretching some from its source on Plynlimon in mid Wales to the Severn estuary. For much of its length the river forms part of the border between England and Wales. The Wye Valley (lower part) is an Area of Outstanding Natural Beauty. The Wye is important for nature conservation and recreation. The meaning of the name is not clear. Possibly the earliest reference to the name is "Guoy" in Nennius' early 9th Century "Historia Brittonum" and the modern Welsh name is "Gwy". The Wye was much later