The pro-English Regent of Scotland James Douglas, 4th Earl of Morton, whom Walsingham had supported, was overthrown in 1578. After the collapse of the Raid of Ruthven, another initiative to secure a pro-English government in Scotland, Walsingham reluctantly visited the Scottish court in August 1583, knowing that his diplomatic mission was unlikely to succeed. James VI dismissed Walsingham's advice on domestic policy saying he was an "absolute King" in Scotland. Walsingham replied with a discourse on the topic that "young princes were many times carried into great errors upon an opinion of the absoluteness of their royal authority and do not consider, that when they transgress the bounds and limits of the law, they leave to be kings and become tyrants." According to James Melville of Halhill, James VI intended to give Walsingham a valuable diamond ring as a parting gift, but James Stewart, Earl of Arran, who Walsingham had ignored, substituted a ring of crystal. A mutual defence pact was eventually agreed in the Treaty of Berwick of 1586.