Caerlanrig - also spelled 'Carlenrig' - (Gaelic: Cathair Lannraig) is a hamlet in the parish of Cavers, Borders, Scotland, lying on the River Teviot, 6 miles (10 km) north east of that river's source, and 10 miles (16 km) south west of Hawick.
The first element of the name is probably the extinct Cumbric cair 'fortification', though Gaelic cathair has been suggested.
[1] The second element is generally taken as Cumbric lanerx, meaning 'clearing' (cf.
[3] It is best known for being the site where John Armstrong of Gilnockie, notorious member of Clan Armstrong and brother of Thomas, Laird of Mangerton was captured and hanged by King James V for being a reiver.
[4] The king's household book records that James V was at Caerlanrig on Tuesday 5 July 1530.