Kingdom of England unity ever since. During the reign of Æthelred the Unready (978–1016), a new wave of Danish invasions was orchestrated by Sweyn I of Denmark, culminating after a quarter-century of warfare in the Danish conquest of England in 1013. But Sweyn died on 2 February 1014, and Æthelred was restored to the throne. In 1015, Sweyn's son Cnut the Great (commonly known as Canute) launched a new invasion. The ensuing war ended with an agreement in 1016 between Canute and Æthelred's successor, Edmund Ironside, to divide England between them, but Edmund's death on 30 November of that year left England united
Edgar, King of Scotland uncle Donald III (Domnall Bán mac Donnchada). His older brother Edmund sided with Donald, presumably in return for an appanage and acknowledgement as the heir of the aged and son-less Donald. Edgar received limited support from William II (William Rufus) as Duncan had before him; however, the English king was occupied with a revolt led by Robert de Mowbray, Earl of Northumbria, who appears to have had the support of Donald and Edmund. Rufus campaigned in northern England for much of 1095, and during this time Edgar gained control only of Lothian. A charter issued at Durham at this time