Tolbooth
A tolbooth or town house was the main municipal building of a Scottish burgh, from medieval times until the 19th century.The tolbooth was one of three essential features in a Scottish burgh, along with the mercat cross and the kirk (church).[2] Royal burghs were governed by an elected council, led by a provost and baillies, who also acted as magistrates with jurisdiction over local crime.As well as housing accused criminals awaiting trial, and debtors, tolbooths were also places of public punishment, equipped with a whipping post, stocks or jougs.Other functions provided in various tolbooths included schoolrooms, weighhouses, storage of equipment and records, and entertainments.