What problem helped to weaken the Spanish Empire?