Beginning around the 12th century, Scotland was divided into burghs. Most of these autonomous towns had a tolbooth, a building housing the council chambers, courthouse, prison and tax collector. In 1143, King David I established the burgh of Canongate. Today this is the center of Old Town along the Royal Mile. This Canongate Tolbooth was built in 1591. The stone turret, called a bartizan, is a classic element in Scots Baronial architecture. The People’s Story Museum was established here in 1989. It traces the history of Edinburgh from the late 18th century.