 He landed in England with William's invading army in 1698, the beginning of the Glorious Revolution.In return for his service, he was given further commands in William's army, made governor of Stirling and Dumbarton castles.In 1695, he was appointed a director of the Company of Scotland, and, in the following year, was sent to Holland and other parts of the continent, to manage the affairs of the company.