From medieval times, the harbour and berths at Kinsale were of strategic importance, and its defences were tested during the Battle of Kinsale (1601) and Williamite War (1690). Though declining in importance (relative to those at Cork Harbour) in the 18th and 19th centuries, several structures were in use until they were burned during the Irish Civil War (1922).