The S&P downgraded Spain's credit rating as well, just minutes before the markets closed, to AA from AA+, along with describing the outlook for the country as Negative.