 In 1805 shortly before the elevation Tirol and Vorarlberg were united with Bavaria, same as several of these enclaves.By virtue of his electoral title, the Elector of Bavaria was a member of the Council of Electors in the Imperial Diet as well as Archsteward of the Holy Roman Empire; he also held the dignity of Imperial Vicar during imperial vacancies along with the Elector of Saxony, a duty he undertook in 1657–1658, 1740–1742, 1745, 1790, and 1792.In the Council of Princes of the Diet prior to the personal union of 1777 he held individual voices as Duke of Bavaria and (after 1770) Princely Landgrave of Leuchtenberg.