text: The town grew up as a settlement next to a fort constructed to control the population after Oliver Cromwell's invasion during the English Civil War, and then to suppress the Jacobite uprisings of the 18th century.