Ragnar Lodbrok the Battle of Ashdown on 8 January 871, where Bagsecg was killed. Halfdan accepted a truce from the future Alfred the Great, newly crowned king of Wessex. Halfdan succeeded Bagsecg as King of most of Denmark (Jutland and Wendland) in about 871. Bjorn Ironside became King of Sweden and Uppsala in about 865, (the same year his father Ragnar is said to have died). Bjorn had two sons, Refil and Erik Björnsson. His son Erik became the next king of Sweden, and was succeeded in turn by Erik the son of Refil. Sigurd Snake-in-the-eye became King of Zealand and the
Danelaw losses. The Danes pursued, and on 7 January 871, Æthelred and Alfred defeated the Danes at the Battle of Ashdown. The Danes retreated to Basing (in Hampshire), where Æthelred attacked and was, in turn, defeated. Ivar was able to follow up this victory with another in March at Meretum (now Marton, Wiltshire). On 23 April 871, King Æthelred died and Alfred succeeded him as King of Wessex. His army was weak and he was forced to pay tribute to Ivar in order to make peace with the Danes. During this peace, the Danes turned to the north and attacked Mercia,