Odilo, duke of Bavaria
Odilo, also Oatilo or Uatilo (died 18 January 748) of the Agilolfing dynasty was Duke of Bavaria from 737 until his death. He had the Lex Baiuvariorum compilation edited, the first ancient Germanic law collection of the Bavarians.
Odilo by his Agilolfing descent was an Alemannic nobleman, a son of Duke Gotfrid (d. 709) whom he succeeded in Thurgau until 737, when with the death of Hugbert of Bavaria the older line of the dynasty became extinct and he inherited the rulership of the Duchy of Bavaria.
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.
In 741, Odilo married Charles Martel's daughter Hiltrud, but upon the death of her father found himself at war with her brothers Carloman and Pepin the Short. He was finally defeated in 743 and had to accept Frankish overlordship over Bavaria, but remained duke. He further consolidated his rule, when he came to the aid of Prince Boruth of Carantania against repeated Avar incursions and was able to vassalize the Slavic principality in the southeast.
After his death in 748, Grifo, a younger son of Charles Martel and half-brother of Odilo's widow Hiltrud, sought to establish his own rule in Bavaria and abducted Odilo's son Tassilo III. However, the next year he was defeated by Pepin the Short who installed seven-year-old Tassilo III as Duke of Bavaria.
Odilo is accepted as the founder of the abbeys of Benediktbeuern (in 739), Niederaltaich (741), and Mondsee (748), as well as a number of others. He was buried at Gengenbach Abbey in Alamannia.