Bishop Utto fell in a battle against them in 908. Under St. Lantpert (938-57), Freising was set on fire by the Hungarians and almost entirely destroyed. After the victory of Otto I at Lechfeld, peace came again to the city, and the Church of Freising, under the guidance of competent rulers, rose from its ruins, and acquired new possessions. Abraham, of the race of the counts of Görz (956-94), obtained for his diocese from the Emperor Otto II (973) extensive possessions in Carniola. Gottschalk, Knight of Hagenau (994-1006), obtained for Freising a coinage, the privilege of holding fairs, and civic rights; and Egilbert of Moosburg (1006-39), the founder of the Benedictine Abbey of Weihenstephan, which replaced the old convent of the canons, was the recipient of additional landsin Upper Carniola. In Austria and in the Tyrol the colonies founded from the diocese were remarkably successful in development and stability. During the disturbances resulting from the conflict of investitures, Ellenhard, Count of Meran (1052-78), was ever to be found on the side of Henry IV, who repeatedly visited the bishop in Freising; Meginhard, Count of Scheyern (1078-98), who distinguished himself by spreading the Christian doctrine in Bohemia, was more favourable to the pope; Heinrich I, of Ebersdorf (1098-1137), was in his turn an adherent of the emperor. Heinrich I lived to see the destruction of Freising by Duke Welf, and, when dying, bequeathed his possessions to the diocese.

He was succeeded by the most distinguished bishop, Otto I (1137-58), the historian and philosopher. He saved the see