Mayor of the Palace
Odilo presided over the establishment of bishoprics in Bavaria in 739, when the four dioceses of Regensburg, Freising, Passau, and Salzburg were established by St. Boniface, who in 741 also founded the Diocese of Würzburg in adjacent Franconia. His measures sparked a revolt by Bavarian nobles and the duke temporarily had to seek refuge at the court of the Frankish Mayor of the Palace Charles Martel.