Ferdinand I's Kingdom of Castile and León was divided between his three sons: Sancho II received Castile, Alfonso VI, León, and a new Kingdom of Galicia was broken off León for García. However, Sancho II prevented García from taking up his kingdom and then proceeded to attack Alfonso VI. In 1070, Sancho actually defeated Alfonso and drove him into exile, reassembling the whole kingdom of Ferdinand I. But when Sancho was killed in 1072, the whole kingdom immediately fell to Alfonso, who maintained its unity by imprisoning García until his death. How Sancho was killed is still a matter of uncertainty. He seems to have been meeting an incursion from Alfonso in exile, but the death may have been one of betrayal than just of battle. Whether Alfonso was even present is variously represented.