The historic house of Duns Castle, situated near Duns in Berwickshire in the Scottish Borders, has been held by a number of families over the centuries, including: Randolph, Home, Cockburn, and latterly Hay.
The oldest part of Duns, the peel tower, is thought to date from around 1320, and built by Thomas Randolph. The estate then passed to the Homes of Ayton at some point, and they were recorded as being in possession of the castle in 1489.
In 1547 the castle was attacked and damaged by the English Earl of Hertford, and was later repaired. Duns was held by the Homes well into the 17th century, before passing to Clan Cockburn sometime after 1645. The Cockburns held it for a brief time, with the Hays of Drumelzier the next family the take possession of the fortress, and who still own the castle to this day.
The current Gothic mansion was built by the architect James Gillespie Graham between 1818 and 1822, incorporating the older structures.
Duns Castle is said to be haunted by Alexander Hay, a Scottish soldier who died at the Battle of Waterloo in 1815.