In 1799, during the French Revolutionary Wars, an Anglo-Russian expeditionary force captured the city but was ultimately defeated in the Battle of Castricum.
Under de franske revolutionskrige i 1799 erobrede en engelsk-russisk styrke byen, men blev til sidst overvundet i slaget ved Castricum.