First mentioned in the reign of David I (1124-1153) today all that remains of Lanark Castle is a truncated motte and some defensive ditches to the west. Many early Scottish kings used the castle when hunting in the forest of Lanark. Alexander III had a coin mint in the castle. The status of Royal Burgh was also most likely conferred on Lanark during time of David I. Royal Burgh were given land and trading privileges in return for the Crown receiving a share of the profits from markets and goods held and made within the burgh.