 In 1026, Pandulf, returned from captivity, besieged his old capital, now ruled by Pandulf V, the count of Teano.Basil Boiannes, the Greek catapan of Italy, negotiated a surrender and gave Pandulf V safe conduct to Naples, where Sergius offered him asylum.By this, Sergius incurred Pandulf IV's enmity.