The House of Knýtlinga ruled the Kingdom of England from 1013 to 1014 and from 1016 to 1042. In 1013 Sweyn Forkbeard, already the king of Denmark and of Norway, overthrew King Æthelred the Unready of the House of Wessex. Sweyn had first invaded England in 1003 to avenge the death of his sister Gunhilde and many other Danes in the St. Brice's Day massacre, which had been ordered by Æthelred in 1002. Sweyn died in 1014 and Æthelred was restored. However, in 1015 Sweyn's son, Cnut the Great, invaded England. After Æthelred died in April 1016, his son Edmund Ironside briefly became king, but was forced to surrender half of England to Cnut. After Edmund died in November that same year, Cnut became king of all England. Scotland submitted to him in 1017, and Norway in 1028. Although Cnut was already married to Ælfgifu of Northampton, he married Æthelred's widow, Emma of Normandy. He ruled until his death in 1035. After his death another of Æthelred's sons, Alfred Aetheling, tried to retake the English throne, but he was betrayed and captured by Godwin, Earl of Wessex, who supported Cnut's son, Harold Harefoot. Alfred was blinded, and died soon after. Harold ruled until 1040, although his mother Ælfgifu may have ruled during part of his reign. Harold initially shared England with his half brother Harthacnut, the son of Cnut and Emma. Harold ruled in Mercia and Northumbria, and Harthacnut ruled in Wessex. However Harthacnut was also king of Denmark, and spent most of his time there, so that Harold was effectively sole ruler of England. Harthacnut succeeded Harold as king of England. He died two years later, and his half-brother Edward the Confessor became king. Edward was the son of Æthelred and Emma, and so with his succession to the throne the House of Wessex was restored.
England after the House of Knýtlinga
Edward the Confessor ruled until 1066. His brother in law, Harold Godwinson—the son of Alfred's betrayer—became king, provoking the Norman conquest of England in the same year. Harold II was the last Anglo-Saxon king to rule over England. The Normans were descended from Vikings who had settled in Normandy, and although they had adopted the French language, their heritage and self-image were essentially Viking. In this manner, the Vikings ultimately finally conquered and kept England after all. In 1085–86 King Cnut IV of Denmark planned one last Danish invasion of England, but he was assassinated by Danish rebels before he could carry it out. This was the last time the Vikings attempted to attack Western Europe, and Cnut's death is regarded as the end of the Viking Age.