He passed some time at
Avignon, and it was while at the papal court that he was chosen Bishop of St Andrews; he was consecrated in 1403. Returning to Scotland, he acted as tutor to the future King
James I of Scotland, and finished the work of restoring the
cathedral at
St Andrews. He greatly improved the interior and enriched it with encaustic tiles and stained-glass windows. He also built the
Gare bridge at the mouth of the
Eden, which was then considered one of the finest in Scotland. Having helped to bring about the release of James from his captivity in England, he crowned the king in May 1424, and afterwards acted as one of his principal advisers. He appears to have been an excellent bishop. The chief blot on his episcopate was the
burning of
John Resby, an English priest, at Perth in 1407, and of
Pavel Kravař, a Bohemian, at St. Andrews in 1432, for teaching the tenets of
Wycliffe. He does not appear to have been himself an active promoter of persecution. Resby was apprehended by Lawrence of Lindores, and the king conferred the abbey of Melrose on John Fogo for his zeal in convicting Kravař. It is no excuse that the spirit of persecution then raged throughout Christendom, and that the Scottish parliament in 1425 enacted that all bishops should make inquisition of Lollards and others considered by Rome to be heretics in their dioceses. ==University of St Andrews==