Dumfries (/dʌmˈfriːs/ dəm-FREES) is a market town and former royal burgh within the Dumfries and Galloway council area of Scotland and is situated close to the Solway Firth, near the mouth of the River Nith. Dumfries was the county town of the former county of Dumfriesshire. People from Dumfries are known colloquially as Doonhamers. There are at least two theories on the etymology of the name. One is that the name Dumfries originates from the Scottish Gaelic name Dún Phris which means "Fort of the Thicket". According to another theory, the name is a corruption of two words which mean the Friars’ Hill; those who favour this idea allege the formation of a religious house near the head of what is now the Friars’ Vennel.
Located on the east side of the lowest crossing point of the River Nith, no positive information has been obtained of the era and circumstances in which the town of Dumfries was founded. Some writers hold that Dumfries flourished as a place of distinction during the Roman occupation of North Great Britain. The Selgovae inhabited Nithsdale at the time and may have raised some military works of a defensive nature on or near the site of Dumfries; and it is more than probable that a castle of some kind formed the nucleus of the town. This is inferred from the etymology of the name, which, according to one theory, is resolvable into two Gaelic terms signifying a castle or fort in the copse or brushwood.