 Adalbert of Bremen managed a peace with Bernard of Saxony and negotiated a treaty with the missionary monarch Sweyn II of Denmark.With the assistance of Sweyn and Edward the Confessor of England, whose enemies Baldwin had harboured, Baldwin of Flanders was harassed by sea and unable to escape the onslaught of the imperial army.At Cologne, the pope excommunicated Godfrey and Baldwin.