Ecgfrith (or Egfrith; –685) was the King of Deira from 664 until 670. When his father died he became King of Northumbria from 670 until his death. Ecgfrith ruled Northumbria when it was at the height of its power. His reign ended with his defeat at the Battle of Nechtansmere in which he lost his life.