 Adalrich abandoned Leodegar and went over to Ebroin, the mayor of the palace of Neustria, sometime before 677, when he appears as an ally of Theuderic, who granted him the monastery of Bèze.Taking advantage of the assassination of Hector of Provence in 679 to bid for power in Provence, he marched on Lyon but failed to take it and, returning to Alsace, switched his support to the Austrasians once more, only to find himself dispossessed of his lands in Alsace by King Theuderic III, an ally (and puppet) of Ebroin's who had opposed Dagobert in Austrasia since 675, who gave them to the Abbey of Bèze that year (679).Adalrich maintained his power in a restricted dukedom which did not encompass land west of the Vosges as it had under Boniface and his predecessors.