It is located on the southern coast of Scotland, eleven kilometres (seven miles) south of Dumfries, on the edge of the Caerlaverock National Nature Reserve.
In the 17th century, the Maxwells were created Earls of Nithsdale, and built a new lodging within the walls, described as among "the most ambitious early classical domestic architecture in Scotland".
[2] The castle, which is protected as a scheduled monument, is in the care of Historic Environment Scotland,[3] and is a popular tourist attraction.
The chronicles in the 12th-century Annales Cambriæ state that King Gwenddoleu ap Ceidio died nearby at the Battle of Arthuret in 573.
His death triggered his bard Myrddin Wyllt to go insane and retreat into the woods, an act that later inspired the character of Merlin in Arthurian legend.
[1] Around 1220 Alexander II of Scotland granted the lands to Sir John Maxwell, making him Warden of the West March.
In the end, the garrison was compelled to surrender, after which it was found that only sixty men had withstood the whole English army for a considerable period.
Fearing that this important stronghold might ultimately fall into the hands of the enemy, and enable them to make good their hold on the district, Sir Eustace dismantled the fortress, service and sacrifice for which he was liberally rewarded by Robert Bruce.
Around 1355 Sir Roger Kirkpatrick of Closeburn captured Caerlaverock for David II of Scotland, and partly dismantled the castle.
Caerlaverock was besieged in 1570 by an English Protestant force led by the Earl of Sussex, and was again partly demolished, including the destruction of the gatehouse with gunpowder.
In 1619 Robert, 10th Lord Maxwell, married Elizabeth Beaumont, cousin of the Duke of Buckingham, a favourite of James VI of Scotland.
According to Sir Henry Vane, the Earl and Countess of Nithsdale and their page were allowed to leave, but 40 defenders called Maxwell were put to the sword.
[13] In the mid 19th century, the castle was in the possession of William Constable-Maxwell, 10th Lord Herries of Terregles (1804–1876), heir of the 5th Earl of Nithsdale.
Despite many sieges and slightings followed by rebuildings, the original form of the castle can still be appreciated, the curtain wall bases largely remaining at lower levels, these dating to the original construction in the last quarter of the thirteenth century (HES Statement of Significance op cit, p10) The early parts of the castle were built of red sandstone quarried at nearly Bankend.
While ruinous at the upper levels, the drum towers still stand above the drawbridge to a height of some 15.5 metres to the machicolations, these dating to the late fifteenth century rebuild.
Although lacking its two eastern most bays it is perhaps the most spectacular part of the castle, with its magnificent Renaissance façade of the 1630s (SoS op cit, 12-13).
The remaining front is decorated with a series of carved pediments over nine large windows, three smaller ones and two doorways, depicting various armorials and symbolic sculptures (SoS op cit, 16-18) .
[21] The castle is at the northern edge of the Caerlaverock National Nature Reserve, which extends to 55 square kilometres (21 sq mi) and consists of saltmarsh, mudflats and grazing land.