In 1601 the decisive Battle of Kinsale took place in County Cork, which was to lead to English domination of Ireland for centuries. Kinsale had been the scene of a landing of Spanish troops to help Irish rebels in the Nine Years' War (1594–1603). When this force was defeated, the rebel hopes for victory in the war were all but ended. County Cork was officially created by a division of the older County Desmond in 1606.