The Sheriff of Wigtown was historically the office responsible for enforcing law and order in Wigtown, Scotland and bringing criminals to justice. Prior to 1748 most sheriffdoms were held on a hereditary basis. From that date, following the Jacobite uprising of 1745, the hereditary sheriffs were replaced by salaried sheriff-deputes, qualified advocates who were members of the Scottish Bar.
It became known as the Sheriff of Wigton & Kirkcudbright in 1860[1] and was dissolved and incorporated into the sheriffdom of Dumfries & Galloway in 1874.
The Stewartry of Kirkcudbright was created in 1369, when the area between the Rivers Nith and Cree was granted to Archibald the Grim. A steward was appointed by to administer the area which was known the "Stewartry".