It comes then as no surprise that, besides focusing on raiding the Arab-Berber strongholds of the Meseta, Alphonse I centred on expanding his domains at the expense of the neighbouring Galicians and Basques at either side of his realm just as much. During the first decades, Asturian control over part of the kingdom was weak, and for this reason it had to be continually strengthened through matrimonial alliances and war with other peoples from the north of the Iberian Peninsula. After Pelayo's death in 737, his son Favila of Asturias was elected king. Favila, according to the chronicles, was killed by a bear during a trial of courage. Pelayo's dynasty in Asturias survived and gradually expanded the kingdom's boundaries until all of northwest Hispania was included by roughly 775. However, credit is due to him and to his successors, the "Banu Alfons" from the Arab chronicles. Further expansion of the northwestern kingdom towards the south occurred during the reign of Alfonso II (from 791–842). A king's expedition arrived in and pillaged Lisbon in 798, probably concerted with the Carolingians.