Local support for the Covenanting War (1644–65) led to the death of over 250 men. Later in the civil wars, during the mid–17th century, Oliver Cromwell's troops came to the town to seek riches and nearly destroyed the town. The treasure was eventually found by Cromwell in Dundee, to where it had been moved to from the burgh for "safe-keeping". The burgh was also affected by the Jacobite rebellions, with the town invaded in 1715 and again in 1745–46.