Ramiro I
Sancho divided the territories he had united, and his third son, Gonzalo, was given the counties of Sobrarbe and Ribagorza. After the death of Gonzalo in 1038, his illegitimate half-brother Ramiro I of Aragon brought Sobrarbe and Ribagorza into his hands, creating the nucleus of the Kingdom of Aragon.