After the accession of Philip III in Spain and of the Archdukes Albert and Isabella in the Habsburg Netherlands in 1598, the Army of Flanders tried to regain the offensive against the Dutch Republic. While it met with a tactical defeat in the Battle of Nieuwpoort on 2 July 1600, it did succeed in its strategic goal to repel the Dutch invasion of Flanders. The lengthy siege of Ostend (1601–1604) amply demonstrated the balance of power. Both sides poured enormous resources into the besieging or defending a town that was reduced to rubble. Ambrogio Spinola, who had succeeded Archduke Albert as commander in the field, eventually captured the town on 22 September 1604, but only at the price of accepting the loss of Sluis.