After a contest of a hundred years the metropolitan regained the right of appointment. Dissensions did not cease, for in 1432 the Habsburg duke Frederick IV of Austria claimed the right of investiture, which even was a subject of the consultations at the Council of Basel under Pope Eugene IV. In 1448 King Frederick IV of Germany concluded an agreement with Pope Nicholas V to reserve the right of appointment for himself and when in 1470 Sixtus of Tannberg was appointed Gurk bishop by the Salzburg chapter, Frederick enforced his resignation four years later. Finally, on 25 October 1535, the Archbishop of Salzburg and former Gurk bishop, Matthäus Lang von Wellenburg, concluded a long-lasting agreement with King Ferdinand I of Germany, according to which the nomination of the Bishop of Gurk is to rest twice in succession with the sovereign and every third time with the Archbishop of Salzburg; under all circumstances the archbishop was to retain the right of confirmation, consecration and investiture. Though from 1460 onwards the Gurk bishops held the right to bear the title of a prince-bishop, they never exerted any secular power.