Initially in good standing with
Henry IV, Adalbert was documented at the royal court in 1071. However, he joined the princely opposition, and when Henry attempted to enter Worms in late 1073, Adalbert refused him entry. Citizens of Worms, persuaded by the king, expelled the bishop and received Henry with honors. Henry placed the bishopric under royal control until, after his excommunication, he was compelled at the
Diet of Trebur in 1076 to reinstate Adalbert. He returned for only six months before being driven out again. In 1078, Adalbert supported the anti-king
Rudolf of Rheinfelden at the
Battle of Mellrichstadt, where he was captured and imprisoned for three years. Adalbert returned to Worms in 1105 after Henry IV's deposition by his son
Henry V. He witnessed the abdication at Ingelheim on 31 December 1105. In the two remaining years of his episcopate, Adalbert worked to restore the bishopric and city. During his exile, three anti-bishops appointed by Henry IV had held the see: Thietmar (1085), Ebbo (1090–1099), and Conrad (1099–1101). == Church reform and religious contributions ==