Selkirkshire or the County of Selkirk (Scottish Gaelic: Siorrachd Shalcraig) is a registration county of Scotland. It borders Peeblesshire to the west, Midlothian to the north, Berwickshire to the north-east, Roxburghshire to the east, and Dumfriesshire to the south. It derives its name from its county town, the Royal burgh of Selkirk.Until 1975 it was one of the thirty-three administrative counties of Scotland, with a county council formed by the Local Government (Scotland) Act 1889.