In turn, the diocese was dissolved by Pope Pius VII in 1821 after Vicar General Ignaz Heinrich von Wessenberg had been elected diocesan administrator upon the death of the last bishop Karl Theodor von Dalberg in 1817. While Wessenberg was supported by the government of Baden, the Pope never recognized his election as he disagreed with Wessenberg's liberal views. By a bull of 16 August 1821, the pope dissolved the diocese in order to prevent Wessenberg from becoming bishop. The area of the diocese in Baden became part of the newly established Roman Catholic Archdiocese of Freiburg in 1827 while the Swiss areas were incorporated in the Diocese of Basel, whereas the cantons of Obwalden and Nidwalden, parts of Uri, Glarus and Zürich are provisorily administrated by the Diocese of Chur up to today.