The Spanish American War was a large contributor to the decline of the Spanish Empire of the Golden Age.
By the time of the Spanish American War of 1898, the Spanish empire of the Golden Age had been whittled to insignificance.