Wikipedia
Treasurer-depute
The Treasurer-depute was a senior post in the pre- Union government of Scotland. It was the equivalent of the English post of Chancellor of the Exchequer.
Originally a deputy to the Treasurer, the Treasurer-depute emerged as a separate Crown appointment by 1614. Its holder attended the Privy Council in the absence of the Treasurer, but gained independent membership of the Council in 1587 and sat in the Parliament of Scotland as a Great Officer of State in 1593 and from 1617 onwards.