北方戦争
During this period, the population in Kandava reached 1000 people. Further development was stopped by the Second Northern War when Swedes sacked and destroyed Kandava Castle.