[4] In 1333 the Guardian of Scotland, Sir Archibald Douglas, mustered an army in Duns to march on Berwick, which at that time was under siege by the English.
Camped at Duns, his army's horses were alarmed at night by the rattles used by the inhabitants to scare birds from their crops.
In 1513, some 6 miles (10 km) to the north of the town at Ellemford, James IV of Scotland mustered his army, prior to his campaign that would lead to the disastrous Battle of Flodden.
[5] Duns suffered badly in cross-border raiding and feuding, and was burned to the ground three times within 14 years, in 1544, 1545 and 1558 during the war of the Rough Wooing.
[7] In the autumn of 1517, Duns Market Cross was also the destination of the head of the Sieur de la Bastie, the French Ambassador and Warden of the Eastern March, following his murder at Preston, by Home of Wedderburn.
"Bautie, tha heidet, and in the toun of Dunce his heid affixt on a staik, that all men mycht se it, September xix.
She was brought to Edinburgh to be investigated by John Maitland, 1st Earl of Lauderdale and the Privy Council of Scotland, and arrangements were made to have her and her immediate family lodged in the Canongate Tolbooth.
[11] In 1639, during the First Bishops' War, Duns became the mustering point for the Covenanting army led by General Leslie, gathered there to face King Charles I's English host encamped at Berwick.
In the peace following the end of the Jacobite rebellion in 1746, Duns began to expand and many of the administrative functions of Berwickshire were carried out in the town.
In 1903, a bill first introduced by the Secretary for Scotland in 1900 was passed confirming Duns as the county town of Berwickshire when nearby Greenlaw lost that status the following year.
[16][17] By the mid-nineteenth century it was felt that Duns was the more important town than Greenlaw, which remained a small village.
[19][20] Elected county councils were established in 1890 under the Local Government (Scotland) Act 1889, taking over most of the functions of the commissioners.
[24] The Hay family were responsible for the present Gothic Revival structure; prior to that, it had been a substantial Peel tower built in 1320 by the Earl of Moray who had been granted the estate by Robert I.
Among his many achievements, Jim Clark was Formula 1 World Champion in 1963 and 1965, with 72 Grand Prix starts, 25 Wins, and 33 Pole Positions.
[25] During the Second World War, the Scottish Borders was home to many Polish soldiers, who had come here to form new regiments prior to returning south to go the front in Europe.
It was as a tribute to the 127 men of these regiments who died in the conflict, that Polish ex-soldiers and the people of Duns, jointly, paid for the erection of this monument.
[26] As well as this a memorial to Wojtek, a Syrian brown bear which was adopted by the Polish army in 1943, can be found in the Market Square.
The new Berwickshire High School opened in 2009 and is located to the west of the town on the A6105 and provides higher education not only for pupils from Duns but also the many surrounding villages and wider rural community.
A fourth was provided in case of mishap, and if not needed was presented to the subscriber whose entertainment had been most hospitable, the Hay family at Duns Castle usually being the recipients.