Anglo-saxons came to Britain as migrants, then settled in England and established small, familial communities around the country, obeying the authority of an elected chief, and loyalty to this lord was an important feature of the Anglo-Saxon community. Some local groups joined together under a common ruler, and these kingdoms came under attack from the vikings, where Wessex proved to be the most powerful Anglo-Saxon kingdom.