What caused the downfall of the Spanish Empire?