Kingdom of Aragon
King Battallador, who had failed in his marriage to the Leonese queen Urraca, had no descendants. In his singular will, he made the military orders heirs to his kingdoms, but nobody thought of fulfilling this will and the Aragonese nobles, gathered in Jaca, recognized his brother Ramiro as king. For their part, the Navarrese elected García Ramírez, which determined the separation of the Kingdom of Navarre. At that time Ramiro was bishop of Roda-Barbastro, but he had to occupy the throne.