In 1777, the town's Clock Gate was built on the site of Trinity Castle, part of the town's fortifications. The Clock Gate served the town as gaol and public gallows until 1837; prisoners were executed by being hanged from the windows.