qnli question: In what year did the northern parts of the country form the Brythonic kingdom of Rheged? sentence: During the mid-8th century, the area was incorporated into the Anglo-Saxon Kingdom of Northumbria, which became a part of England in the 10th century.