Albano to go to Segni with Bruno, and to persuade the canons of the cathedral Chapter to elect Bruno as their bishop. Bruno was appointed as the Bishop of Segni in 1079 after the canons of the cathedral of Segni selected him. Pope Gregory VII himself, a good friend of Bruno who often sought his counsel, consecrated him a bishop. According to Peter the Deacon, when the previous bishop of Segni, Erasmus, came to die, the pope asked Bruno to step in as administrator of the Church of Segni. As is traditional in such cases, Bruno pleaded his unworthiness and attempted to refuse. The pope was determined, however, and Bruno set off for Segni. In the meantime, the pope sent a mitre to the leaders of the church at Segni, ordering them to have Bruno consecrated their bishop. When Bruno realized what was going on, he attempted to flee, but in the middle of the night on the road he met a lady dressed in imperial regalia whose face shone like the sun (a personification of the Church of Segni), who chided him for fleeing from his bride. Struck by this, Bruno returned and allowed himself to be consecrated bishop. During May and June 1081, the Emperor-elect Henry IV brought his army and his Clement III (Wibert of Ravenna) to the neighborhood of Rome, and besieged the city. He had to withdraw to the north in the summer, but next year he returned and spent the entire Lenten season. At one of these times, Bruno was travelling from Segni to Rome when Adolfo di Segni, a supporter of Henry IV, who was ambitious to become Lord of Segni in place of the bishop, seized and imprisoned Bruno for three months. He was freed and returned to Rome. King Henry returned at the end of 1082 for a siege of seven months, during which fierce fighting in and around the Leonine City caused Pope Gregory to seek refuge in the Castel Sant' Angelo. Bruno was imprisoned once more, in the Castel Sant'Angelo alongside the pope. Hartmuth Hoffmann remarks that it is doubtful that during the following decade he would have had the opportunity to deal with his own diocese as usual. Bishop Bruno of Segni attended the eighth Roman synod of Pope Gregory VII, on 4 May 1082. Career in Roman curia Pope Victor III (1086–1087) named him the Librarian of