a disputed succession should Æthelred fall in battle. It was a well known tradition among other Germanic peoples – such as the Swedes and Franks to whom the Anglo-Saxons were closely related – to crown a successor as royal prince and military commander. Viking invasion In 868, Alfred was recorded as fighting beside Æthelred in a failed attempt to keep the Great Heathen Army led by Ivar the Boneless out of the adjoining Kingdom of Mercia. The Danes arrived in his homeland at the end of 870, and nine engagements were fought in the following year, with mixed results; the places and dates of two of these battles have not been recorded. A successful skirmish at the Battle of Englefield in Berkshire on 31 December 870 was followed by a severe defeat at the siege and the Battle of Reading by Ivar's brother Halfdan Ragnarsson on 5 January 871. Four days later, the Anglo-Saxons won a victory at the Battle of Ashdown on the Berkshire Downs, possibly near Compton or Aldworth. The Saxons were defeated at the Battle of Basing on 22 January. They were defeated again on 22 March at the Battle of Merton (perhaps Marden in Wiltshire or Martin in Dorset). Æthelred died shortly afterwards in April. King at war Early struggles In April 871 King Æthelred died and Alfred acceded to the throne of Wessex and the burden of its defence, even though Æthelred left two under-age sons, Æthelhelm and Æthelwold. This was in accordance with the agreement that Æthelred and Alfred had made earlier that year in an assembly at an unidentified place called Swinbeorg. The brothers had agreed that whichever of them outlived the other would inherit the personal property that King Æthelwulf had left jointly to his sons in his will. The deceased's sons would receive only whatever property and riches their father had settled upon them and whatever additional lands their uncle had acquired. The unstated premise was that the surviving brother would be king. Given the Danish invasion and the youth of his nephews, Alfred's accession probably went uncontested. While he was busy with the burial ceremonies for his brother, the Danes defeated the Saxon army in his absence at an unnamed spot and then again in his presence at Wilton in May. The defeat at Wilton smashed any remaining hope that Alfred could drive the invaders from his kingdom. Alfred was