Oswald of Northumbria
The Irish annals record that in 638, after the events related in "Y Gododdin", "Etin" was besieged by the Angles under Oswald of Northumbria, and the Gododdin were defeated. The territory around Edinburgh then became part of the Kingdom of Northumbria, which was itself absorbed by England in the 10th century. Lothian became part of Scotland, during the reign of Indulf (r.954–962).