in 1039 or 1040, the Scottish king Donnchad mac Crínáin attacked northern Northumbria and besieged Durham. Within a year, Macbeth had deposed and killed Donnchad. The failed siege occurred a year before Siward attacked and killed Earl Eadwulf of Bamburgh, and though no connection between the two events is clear it is likely that they were linked. The Annals of Lindisfarne and Durham, written in the early 12th century, relate under the year 1046 that "Earl Siward with a great army came to Scotland, and expelled king Macbeth, and appointed another; but after his departure Mac Bethad recovered his kingdom". Historian William Kapelle thought that this was a genuine event of the 1040s, related to the Annals of Tigernach entry for 1045 that reported a "battle between the Scots" which led to the death of Crínán of Dunkeld, Donnchad's father; Kapelle thought that Siward had tried to place Crínán's son and Donnchad's brother Maldred on the Scottish throne. Another historian, Alex Woolf, argued that the Annals of Lindisfarne and Durham entry was probably referring to the invasion of Siward in 1054, but misplaced under 1046. During the invasion of 1054, a battle was fought somewhere in Scotland north of the Firth of Forth, a battle known variously as the "Battle of the Seven Sleepers" or the "Battle of Dunsinane". The tradition that the battle actually took place at Dunsinane has its origins in later medieval legend. The earliest mention of Dunsinane as the location of the battle is in the early 15th century by Andrew of Wyntoun. The earliest contemporary English account of the battle is found in the Anglo-Saxon Chronicle, recension D: John of Worcester, using a related version of the Anglo-Saxon Chronicle, adds that Normans named Osbern Pentecost and Hugh, who had joined Macbeth earlier after fleeing from England, were killed in the battle. The battle is mentioned in the Irish annals too, briefly in the Annals of Tigernach and more extensively in the Annals of Ulster: Dolfin is unidentified, but may have been a relation of Macbeth's enemy Crínán of Dunkeld, on the basis that some of Crínán's descendants may have borne this name. The purpose of Siward's invasion is unclear, but it may be related to the identity of the "Máel Coluim" (Malcolm) mentioned in the sources. The early 12th-century chronicle attributed to John of Worcester, probably using an earlier source, wrote that Siward defeated Macbeth