 In 1095 Peter renewed his father's oaths to Urban II, and Urban renewed his promise of protection, under which Sancho, his sons, and his kingdom had been placed in July 1089.On 16 March 1095 the pope even issued a bull, "Cum universis sancte", granting the king and queen of Aragon immunity from excommunication without the permission of the pope.That same year, while he was besieging Huesca, Peter defeated the relief forces of the Taifa of Zaragoza at the Battle of Alcoraz.