Ecgfrith was killed during a campaign against his cousin, the King of the Picts Bridei map Beli, at a battle known as Nechtansmere to the Northumbrians, in Pictish territory north of the Firth of Forth.