<human>: What was the name of the king who defeated the Vikings at the Battle of Brunanburh?
<bot>: The king who defeated the Vikings was called Æthelstan. He was the son of Alfred the Great, and he ruled from 927 to 939.