Sanquhar (Gaelic: An t-Seann Chathair, "Old Fort") is a village in the Council Area Dumfries and Galloway and has 2021 inhabitants (as of 2011). Sanquhar is located in the valley of the River Nith and on the A76, which connects the towns of Kilmarnock and Dumfries. Officially, the city was founded in 1598 with a royal charter, but there are already traces of settlement from the 8th century. Sanquhar also has the world's oldest post office, which opened in the 17th century.