Sanquhar Castle, now a ruin, was built by the Crichton family in the 13th century. Situated on the southern approach to the former royal burgh of Sanquhar in Dumfries and Galloway, south west Scotland, it sits on the trail of the Southern Upland Way, and is passed by hundreds of visitors who walk through the grounds each year. The castle is a stronghold bounded on the west by the River Nith, to the north by a burn, and made strong by a deep ditch running the remainder of the boundary. It was visited by many notable figures including Robert the Bruce, William Wallace, Edward I, Mary, Queen of Scots, and James VI. Sanquhar Castle was sold by the Crichtons in the mid 17th century to Sir William Douglas, 1st Duke of Queensberry, who established the fairytale pink sandstone Drumlanrig Castle ten miles south of Sanquhar near Thornhill. From then on the castle at Sanquhar began to steadily crumble to a ruin, until 1895 when John Crichton-Stuart, 3rd Marquess of Bute, purchased it and attempted to enthuse a restoration of his ancestral home, following successful restorations at Cardiff Castle and Castell Coch in Wales. Work ended following his death in 1900, and what is left of the site is a mix of restoration and original stonework.