Prestonkirk), in East Lothian; and about 1501 was preferred to the deanery or provostship of the collegiate church of St Giles, Edinburgh, which he held with his parochial charges.
At the Restoration he was favourably received at court, and in 1665 would have received the provostship of Eton, if he would have taken orders; but this he refused to do, on the ground that his writings on religious subjects would have greater weight coming from a layman than a paid minister of the Church.
He was also one of the most trusted advisers of Frederick's son and successor Maximilian I., and his services were rewarded in 1500 with the provostship of the cathedral at Augsburg and in the following year with the bishopric of Gurk.
In addition to royal burghs, there were burghs of nobles and of bishops, and the provostship was apt to become, by custom, almost hereditary in a local noble family, which protected the burgesses.
When the Roman Catholic bishops were deprived he was offered the see of Carlisle; but he declined this honour and also the provostship of Queen's, which was offered him in 1560.