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
Pend Oreille River approximately south of Montrose. Spreading across , the Pend Oreille River watershed stretches across most of western Montana, northern Idaho and northeastern Washington, as well as tiny portions in southern British Columbia drained by the North Fork Flathead River and the lower Pend Oreille River. Much of the southern drainage divide of the watershed forms the border of Idaho and Montana, and a very short portion of the northeastern divide forms the border of British Columbia and Alberta. The river is sometimes considered as one with the Clark Fork, which is the primary river flowing into Lake Pend Oreille. For