 Edwin was received in exile at the court of the powerful Welsh ruler Cadfan ap Iago of Gwynedd and in childhood he was the companion of Cadfan's son Cadwallon.During the 590s, Æthelfrith became the most powerful ruler in Northumbria.Following the battle of Degsastan in 603, he became sufficiently powerful to absorb Deira within his rule.