 In 772 Charlemagne granted Bishop Wiomad complete immunity from the jurisdiction of the ruling count for all the churches and monasteries, as well as villages and castles that belonged to the Church of St. Peter at Trier.In his will he also elevated the diocese to the Archdiocese of Trier, with suffragans on both sides of the Rhine.This arrangement lasted over a thousand years.