As eldest son of the prior king, Alfonso Fróilaz was crowned but proved unable to extend his power to the entire kingdom and was marginalized by his cousins the three sons of Ordoño II, who had the backing of the Kingdom of Pamplona. These brothers again partitioned the portion of the kingdom they controlled: the eldest, Sancho Ordóñez, ruling in Galicia, Alfonso IV in León, and Ramiro II in the newly conquered lands to the south (al-Andalus chronicler Ibn Hayyan located his court at Coimbra).