Later, when in financial difficulty, Maitland sold Dudhope Castle in 1684 to John Graham of Claverhouse, better known to most as "Bonnie Dundee". It was from Dudhope Castle that he departed for Killiecrankie in 1689; the victory which resulted in his death. In 1694, the King therefore made a grant of Dudhope Castle to Archibald Douglas. The Douglas family were thus the last family of occupants of the castle as this continued until about 1790. The history of Dudhope and the Constables are therefore inextricably interwoven with the history of Dundee. In fact, the two are inseparable. The office of Constable and occupancy of Dudhope Castle was held by four different families, as above, of which the Scrymgeours held the post for some 370 years.