text: Dumfries ( according to one theory from the ) is a market town and former royal burgh within the Dumfries and Galloway council area of Scotland . It is near the mouth of the River Nith into the Solway Firth .
simplified: Dumfries , meaning either fort or ridge of the thicket , is a former royal burgh and town within the Dumfries and Galloway council area of Scotland and is situated close to the Solway Firth , near the mouth of the River Nith .