The following year, the Spanish Monarchy achieved, for the first time since the Muslim conquest, the territorial unity of the Iberian Peninsula through a personal union with the Kingdom of Portugal, thus creating the Iberian Union (1580–1640). After capturing Ostend from Spinola, the Dutch continued their rebellion, finally achieving the independence during the reign of Philip III of Spain.