The claim for the control and rule of England was settled by a battle which took place at Ashingdon in 1016 AD, when Canute fought Edmund and won both the battle and soon after, secured the Kingdom of all England including the Saxon Wessex and their territories : Kent, Sussex, Wessex and West Mercia. As a result of the Battle of Ashingdon, Canute established full control of not only the Danelaw, (the area above the boundary running diagonally across Southern England roughly along the Thames to East of London, up the River Lea to near Luton, then diagonally towards Chester), but also the Saxon Kingdom, the area below and West of that line. After the battle, that area was administered by the Saxons on behalf of the Danish King of (all) England. The area North of the line was ruled directly by the King. Then when Edmund died, the Danes ruled solely from 1016 until 1042, after that, the Saxons ruled solely until 1066, when Duke William "The Conqueror" and the Normans invaded. Prior to The Battle of Ashingdon, what we call England had almost always been divided. It was two kingdoms - Wessex and the Danelaw. After The Battle of Ashingdon, it became and always remained a unified kingdom and a single nation, as it is to this day. Without the Battle of Ashingdon, King Harold would have had a smaller kingdom to defend more easily and William The Conqueror may not have won at Hastings, or he would have gained only Wessex, and to this day, the Danelaw may have remained part of the Kingdom of Denmark.
After the Battle of Ashingdon, Canute had a Church built in 1020 to honour the defeated but pious and devout King Edmund and all those who died in the battle. King Canute returned to Ashingdon to open the church that he had built which was known then as Ashingdon Minster - now known as St. Andrew's Church. Most of what still stands is mediaeval and some may be based on the original Minster.