He was later appointed a Lord of Justiciary, on 5 July 1682.
He was appointed an Extraordinary Lord of Session in 1721, the last person to hold this office.
Five years later he was appointed a Lord of Judiciary.
Ten years later he was appointed a Lord of Justiciary.
He was also appointed a Lord of the Admiralty at this time.
He was appointed a Lord of the Treasury in 1859.
On 16 June in the same year he was also appointed a Lord of Justiciary, and held these two places until his death.
He was appointed a Lord of Justiciary in 1862.
He was appointed a Lord of the Treasury in December 1868.
In 1715, he was appointed a Lord of the Treasury and held this office until 1718.