From the 12th century on, the counts residing in Castle Tyrol near Merano held the office of Vogt (bailiff) in the Trent diocese and also in the Bishopric of Brixen. They extended their territory over much of the region and came to surpass the power of the bishops, who were nominally their feudal lords. After the deposition of Henry X the Proud as Bavarian duke in 1138, the Counts of Tyrol strengthened their independence from Bavaria under his son Henry the Lion. When the House of Welf was again enfeoffed with the Bavarian duchy by Emperor Frederick Barbarossa at the 1154 Reichstag of Goslar, her possessions no longer comprised the Tyrolean lands. The Counts maintained that independence under the rising Bavarian Wittelsbach dynasty.