San Esteban de Gormaz
After Alfonso VII took the castle of Burgos in April 1127, Alfonso the battler met his counterpart in the valley of Támara, where they negotiated to return Castile to the boundaries of 1054, after the battle of Atapuerca and to return the lands acquired in 1076, after the murder of Sancho of Peñalén. In the pact, Alfonso I the battler was recognized as the sovereign of Vizcaya, Álava, Guipúzcoa, Belorado, La Bureba, Soria, San Esteban de Gormaz and La Rioja. In addition, Alfonso I the Battler renounced the title of emperor.