Input (grade 13): Dumfries () (according to one theory from the) 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.
Output (grade 6): Dumfries was the county town of the former county of Dumfriesshire.