He had strict instructions from Margaret Tudor to hold the castle keys and set a password every night for the King 's guards .
On 3 August 1522 , Erskine was appointed keeper of the ten - year - old King James V of Scotland and Stirling Castle .
Erskine had strict instructions from Margaret Tudor to hold the castle keys and set a password every night for the King 's guards .
On 3 August 1522 , Erskine was appointed keeper of the ten - year - old King James V of Scotland and Stirling Castle .