Duke Ernest of Bavaria was Administrator of the dioceses of Passau and Salzburg and pledge Lord of Glatz.
NASource: Wikipedia