With a POD as far back as 1700, find a way to keep Spain a major power. Bonus points if you can manage this even with them lossing parts of their empire to revolutions.