The only son of James IV. and Margaret who survived infancy was James V. (James Fitz-James of the poem). He was born in 1513, and crowned when less than ten years old, his father having been slain at the battle of Flodden Field, which had resulted so disastrously for Scotland.
By the will of James IV., Margaret was to be queen regent as long as she remained a widow. In 1514 she lost the regency and greatly impaired her influence by marrying Archibald Douglas, Earl of Angus. Bitter enmity already existed between the head of the Douglas clan and other Scottish nobles; and, when Angus had the added dignity of being the husband of the queen regent, the jealousy and rivalry were greatly increased.
After losing the regency, Margaret was obliged to surrender the control of her son to Parliament. The Duke of Albany, the younger son of James III., was appointed regent during the minority of the King. Albany, who had spent many years at the luxurious court of France, returned to his native country with no appreciation of its real needs, and little sympathy with the Scotch. He failed to administer the government in a satisfactory manner. Angus plotted to secure control of affairs, and to gain custody of the young King. He assumed all the authority of a regent, without possessing any claim to the title, and kept James under close guard while pretending to govern the realm in his name.
The King was very restive under this irksome and unlawful restraint, and sympathized strongly with efforts which were made for his release. In 1526 two armed attempts were made to liberate him. Both resulted in failure. What could not be accomplished by force was finally secured by a cleverly planned stratagem of the royal captive; and he escaped to Stirling Castle, where devoted adherents awaited him. Two months later, Parliament declared the estates of the Douglases forfeited to the Crown, and there was neither place nor grace left in Scotland for any bearing the obnoxious name.
James even extended his animosity to one Archibald Douglas of Kilspendie (the Douglas of the poem), to whom he had been greatly attached. A touching story is told of the return of the old man, who had grown weary of his exile in England, and longed for a sight of Scotland and the former friendly regard of the King, whom he had never personally offended. He was doomed to undeserved disappointment, however, as James was unrelenting in his resentment, and would not modify any of the harsh conditions of his oath against the hated Douglas clan.