 He also obtained a charter under the great seal to build Guthrie Castle in 1468 and in 1473 was appointed Lord Chief Justice of Scotland.David greatly increased the Guthrie estates and founded a collegiate church at Guthrie which was confirmed in a Papal bull of 1479.David's son, Sir Alexander Guthrie, was killed at the Battle of Flodden in 1513.