La Bureba
Alfonso's first movement was in 1076 after the death of King Sancho IV of Navarre. The local Navarrese nobility decided that the throne was not to be inherited by the king's son, who was still a minor, but rather by one of the grandsons of Sancho III of Pamplona: Alfonso VI or Sancho Ramírez of Aragon, both of whom invaded the Kingdom of Navarre. After reaching an agreement, Sancho Ramírez was recognized as king of Navarre and Alfonso VI annexed the territories of Álava, Vizcaya, part of Guipúzcoa and La Bureba, adopting in 1077 the title of "Imperator totius Hispaniae" ("Emperor of all Spain").