On his escape in 747, his maternal great-uncle Duke Odilo of Bavaria provided support and assistance to Grifo, but when Odilo died a year later and Grifo attempted to seize the duchy of Bavaria for himself, Pepin, who had become sole major domo of the Frankish (Merovingian) Empire upon Carloman's resignation and retreat into a monastery, took decisive action by invading Bavaria and installing Odilo's infant son, Tassilo III, as duke under Frankish overlordship. Grifo continued his rebellion, but was eventually killed in the battle of Saint-Jean de Maurienne in 753, while Pepin became king of the Franks as Pepin III in 751.